Android IDE (AIDE) Support Forum

Can't get input in C++

It does not show the second output if I don’t use std::endl with court

Code

Output

If I add std::endl it shows second line but can’t get input when I hit enter it doesn’t print number

Code

Output

Cin is not working at all