+ 2

Why did "cin" function didn't lets you write an input on the output

int age; Cout<< "your age is"; cin>> "age"

1st Mar 2021, 6:45 PM
Me++
Me++ - avatar
1 Resposta
+ 15
Me++ because u have put double quote to it.. "age" & also there is no semicolon at the end Try this -> cin>>age;
1st Mar 2021, 7:18 PM
Saurabh
Saurabh - avatar