0
Why doesn't this bit of C++ code work
It keeps saying cout and cin don't describe types. https://code.sololearn.com/cxEX3rH9kGia/?ref=app
2 Antworten
0
#include <iostream>
using namespace std;
int main(){ //debug 1
int y;
cin >> y;
cout << "your imput is \n";
cout << y; //debug 2
return 0; //debug 3
} //debug 4
- 1
#include <iostream>
using namespace std;
int main (){
int y;
cin >> y;
cout << "your input is " << endl;
cout << y;
return 0;
}