Questions


November 2023 2 1 Report
Predict the output of the following and also state how many times the loop will
be executed:
for(int i=1; i< = n; i++)
{
System.out.println (++i);
}

Answers & Comments


Add an Answer


Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Helpful Social

Copyright © 2024 EHUB.TIPS team's - All rights reserved.