0
Whats wrong?
What is wrong here? #include <iostream> using namespace std; int main() { int x; cout<<"Enter your age:"; cin>>x; cout>>"You are old:"<<x<<"Years"<<endl; return 0; } It says compilation error. What is wrong?
2 Respuestas
+ 2
in the cout statement instead of << you have used >>
0
Oh, Im really dumb xD. I messed up the easyest think, thank you!