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