convert the following do while loop into for and while loop
intq=75;
do
{
System. out. println("#"+q);
q=q-10;
}
while(q>5);
Answers
Answered by
1
Answer:
for(q = 75;q > 5;q-= 10)
{
System.out.println ("#"+q);
}
mahpra323456:
thank uh
Similar questions
English,
4 months ago
Social Sciences,
4 months ago
Social Sciences,
4 months ago
English,
8 months ago
Science,
11 months ago
Science,
11 months ago