468,131 views
34 votes
34 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 Arrowsome
by
3.4k points

2 Answers

24 votes
24 votes

Answer:

num = 4

while num <= 24:

print(num)

num+=4

this is python

User Bmavity
by
2.9k points
13 votes
13 votes

Answer:

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

Step-by-step explanation:

WHICH PROGRAMMING LANGUAGE

User Momouu
by
3.1k points