prog.cpp:1:21: error: iostream.h: No such file or directory
prog.cpp:2:20: error: iomanip.h: No such file or directory
prog.cpp: In function ‘int main()’:
prog.cpp:8: error: ‘cout’ was not declared in this scope
prog.cpp:9: error: ‘cin’ was not declared in this scope
prog.cpp:13: error: ‘cout’ was not declared in this scope
prog.cpp:14: error: ‘cin’ was not declared in this scope
prog.cpp:27: error: ‘cout’ was not declared in this scope
prog.cpp:27: error: ‘endl’ was not declared in this scope
prog.cpp:30: error: ‘setw’ was not declared in this scope
prog.cpp:31: error: ‘setprecision’ was not declared in this scope
prog.cpp:36: error: expected `;' before ‘for’
prog.cpp:36: warning: statement has no effect
prog.cpp:36: error: expected `;' before ‘)’ token
prog.cpp:44: error: ‘cin’ was not declared in this scope
prog.cpp:5: warning: unused variable ‘j’
prog.cpp:45: error: expected `}' at end of input