Write a program to print the first five multiples of 3 in ascending order using while loop.
Answers
Answered by
1
Answer:
n = int(input("Enter number: "))
print("First five multiples of", n, "are")
print(n, n * 2, n * 3, n * 4, n * 5)
Output
Enter number: 3
First five multiples of 3 are
3 6 9 12 15
Similar questions