QBASIC:
Q1.Accept a number from the user and print first 10 multiples of the entered
number using FOR NEXT LOOP.
Q2. Write a QBASIC program to display table of a number entered by the user
using DO WHILE LOOP.
Please help solve these two questions
Answers
Answered by
3
Answer:
CLS
PRINT "ENTER THE NUMBER";N
FOR I=1 T0 10
PRINT N," * ", I, " = " ,N*I
NEXT I
END
CLS
PRINT "ENTER THE NUMBER";N
I=1
WHILE I<= 10
PRINT N," * ", I, " = " ,N*I
I=I+1
LOOP
END
Similar questions
Math,
3 months ago
CBSE BOARD X,
3 months ago
Hindi,
3 months ago
English,
7 months ago
Science,
7 months ago
Chemistry,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago