0
Basic c++ "what wrong"
compilation error #include <iostream> using namespace std; int main() { int a; int b; cin>> a >>endl; cin>> b >>endl; cout<<a<<endl; cout<<b; return 0; }
5 Answers
+ 16
Don't use "endl" with cin, doesn't work. And write it like this: cin>>a>>b;
+ 14
No problem
+ 1
Thx that was the problem đ