Rohn wants to print first five Odd numbers. Suggest him a looping statement with which he can do so. also explain the statement.
Answers
Answered by
1
Explanation:
Rohan can choose any of the looping statement (for ,while , do while) It depend on the updation or the body of loop
Like an eg.of (for loop)
for(int i=1; i<=5;i=i+1)
System.out.println(i);
Similar questions