Computer Science, asked by darshanjain11c, 5 months ago


Write a program to input a number and print its first five multiples.​

Answers

Answered by anindyaadhikari13
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