Write a program to print multiplication table of a given number using for loop.
Answers
Answered by
2
- Print the multiplication table of a number
- This is done in QBASIC
CLS
INPUT N
FOR I=1 TO 10 STEP 1
PRINT N*I
NEXT I
END
Answered by
0
num = int(input("Show the multiplication table of? "))
for i in range(1,11):
print(num,'x',i,'=',num*i)
Use '#' for comments
Similar questions