133k views
7 votes
2. Write the pseudocode to print all multiples of 5 between 10 and 25 (including both

10 and 25)

User Nche
by
4.0k points

1 Answer

0 votes

Answer:

Read code below

Step-by-step explanation:

n = 10

while n is <= 25{

print(n)

n +=5

}

This while loop will print all multiples of 5 between 10 and 25 by starting with 10 as n, printing n, then incrementing n by 5 until n is greater than 25.

User WojciechKo
by
3.4k points