Computer Science, asked by realityphantasm, 7 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.

Answers

Answered by sarkarharsh708
1

Code:

product=3

while product<22: # if 21 is not to

#be included, you can specify

#while product<21

print(product)

product+=3

Similar questions