+ 9
What's wrong with this program?
#include <iostream> using namespace std; int main() { for (int x=1,x<10,x++){ cout <<x<<"." <<"gaurav"; } return 0; }
2 Réponses
+ 4
for (int x=1;x<10;x++)
You need to use semi-colon (;) instead of comma (,).
+ 8
thanks