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