Write a program to input a number and print its first five multiples.
Answers
Answered by
2
Question:-
- Write a program to input a number and print its first five multiples.
Program:-
This is written in Python.
n=int(input("Enter a number: "))
for i in range(1,6):
x=i*n
print(i," x ",n, "=",x)
Similar questions
Science,
2 months ago
Computer Science,
2 months ago
Math,
2 months ago
Social Sciences,
5 months ago
Math,
5 months ago
Social Sciences,
10 months ago
Hindi,
10 months ago