Computer Science, asked by Anoopkumar4432, 6 months ago

Accept a number from the user and print first 10 multiples of the entered
number using FOR NEXT LOOP. 1

Answers

Answered by anindyaadhikari13
2

Question:-

Write a QBASIC program to accept a number from the user and print first 10 multiples of the entered number using for loop.

Co‎de:-

CLS

INPUT "ENTER A NUMBER:  "; N

FOR I = 1 TO 10 STEP 1

   A = N * I

   PRINT N; "x"; I; "="; A

NEXT I

END

Similar questions