fork download
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. int main()
  6.  
  7. {
  8.  
  9. int a, b;
  10.  
  11. cout << "Enter the value of A" << endl;
  12.  
  13. cin >> a;
  14.  
  15. cout << "Enter the value of B" << endl;
  16.  
  17. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cob:1: Warning: Invalid indicator 'n' at column 7
prog.cob:3: Warning: Invalid indicator 'i' at column 7
prog.cob:9: Warning: Invalid indicator '<' at column 7
prog.cob:13: Warning: Invalid indicator '<' at column 7
prog.cob:15: Warning: File not terminated by a newline
prog.cob:3: Error: syntax error, unexpected WORD, expecting PROGRAM_ID
stdout
Standard output is empty