Computer Science, asked by samparaprasadp, 11 months ago

Rewrite the following code after debugging(underline the):for(int f=10,f>5,f++){system.out.print(f+".......");}​

Answers

Answered by redblade600
1

Answer:

Assuming this is Java:

for(int f=10;f>5;f++){

System.out.println(f+"......");

}

is the correct code. Also the logic of your code is incorrect so the program will run for an infinite amount of time until or unless you stop it.

Explanation:

Similar questions