0
When i run this loop there is nothing shown...Plz help
#include <iostream> using namespace std; int main() { for(int x = 1; x > 10; x++){ cout << x << endl; } return 0; }
2 odpowiedzi
+ 4
Loop does not start because X is less than 10.
You should put "<" there.
0
In the for, change > for <. =)