Computer Science, asked by deybookagency, 6 months ago

Q1. Write a program to display the first 5 multiples of 25 using for loop. In small basic loop concept. Plss tell my humble request.

Answers

Answered by Oreki
0

for (int i = 25, count = 0; count < 5; i++)

if (i % 25 = = 0) {

count++;

System.out.print(i + " ");

}

Similar questions