#include <iostream.h> void main() { int n,m; cout<<"enter n1"; cin>>n; cout<<"enter n2"; cin>>m; if(n>m) cout<<"n1 is larger..."; else cout<<"n2 is larger..."; }
Standard input is empty
prog.cpp:1:22: error: iostream.h: No such file or directory prog.cpp:2: error: ‘::main’ must return ‘int’ prog.cpp: In function ‘int main()’: prog.cpp:5: error: ‘cout’ was not declared in this scope prog.cpp:6: error: ‘cin’ was not declared in this scope
Standard output is empty