Computer Science, asked by JenniferSarah, 3 months ago

write a qbasic program to print the multiplication table of a number​

Answers

Answered by anindyaadhikari13
3

Answer:

The given cσde is written in QBASIC.

CLS

INPUT "Enter any number"; N

FOR I = 1 TO 10

   A = N * I

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

NEXT I

END

Algorithm:

  • Accept the number.
  • Iterate a loop in the range 1 to 10.
  • Multiply the numbers with each number in the given range and display it.

See the attachment for output.

•••♪

Answered by BrainlyProgrammer
2

Answer:

CLS

INPUT N

FOR I=1 TO N

PRINT N;"×";I;"=";(N*I)

NEXT I

END

Similar questions