Computer Science, asked by v1celesswlhs, 6 months ago

Write a program that uses a while loop to calculate and print the multiples of 3 from 3 to 21. Your program should print each number on a separate line.

Expected Output
3
6
9
12
15
18
21


language is python

Answers

Answered by RuwaisnZaid
3

Explanation:

x = 3

while x>0:

print(x)

x = x+3

Similar questions
Math, 11 months ago