- 3
cant figure out the issue
public class Program { public static void main(String[] args) { int x= 2; while (x <= 3) { Cout <<" x is" << x; } } }
4 Respuestas
+ 3
Don't capitalize cout.
The while loop is infinite because the test condition never becomes false. Inside the loop you need to change the value of x so that x becomes larger than 3.
Please use correct tags. This is in C++, not Java and Python3.
+ 3
Tags suggesting java , Python
Code :-C++
😂
+ 2
I hope that Bjarne Stroustrop & James Gosling see this code one day 👀😂
+ 2
Maher Al Dayekh they will be very proud of him😂