Home
About
Courses
Contact
Rewrite the following while loop using for loop:
int x = 5;
while (x <= 5)
{
x++;
}
System.out.println(x);
Solution
for(int x=5 ; x<=5; x++)
{
}
System.out.println(x);
Contact Us
REACH US
SERVICES
CODING
ON-LINE PREPARATION
JAVA & PYTHON
ADDRESS
B-54, Krishna Bhawan, Parag Narain Road, Near Butler Palace Colony Lucknow
Contact:+ 919839520987
Email:info@alexsir.com