Compiling failed with exitcode 1, compiler output:
prog.cpp: In function ‘int main()’:
prog.cpp:6:9: error: ‘Cin’ was not declared in this scope
Cin>> num;
^~~
prog.cpp:6:9: note: suggested alternative: ‘main’
Cin>> num;
^~~
main
prog.cpp:8:9: error: ‘Cout’ was not declared in this scope
Cout<< num;