34.8k views
4 votes
Write a program that uses a while loop to calculate and print the multiples of 4 from 4 to 24. Your program should print each number on a separate line.

Expected Output
4
8
12
16
20
24

User Jbrulmans
by
3.0k points

2 Answers

4 votes

Answer:

num = 4

while num <= 24:

print(num)

num+=4

this is python

User Elveti
by
3.3k points
6 votes

Answer:

JAVA,C++,PYTHON,HTML,JAVASCRIPT,CSS,NODE JS???

Step-by-step explanation:

WHICH PROGRAMMING LANGUAGE

User Chris Graham
by
3.8k points