#include<iostream.h> #include<conio.h> int Main() { int I,j; Clrscr(); For(i=1;i<=5;i++) { for(j=I; j<=5; j++) { cout<<”*”;} cout<<endl; } getch(); }
Standard input is empty
prog.cpp:1:21: error: iostream.h: No such file or directory prog.cpp:2:18: error: conio.h: No such file or directory prog.cpp:10: error: stray ‘\342’ in program prog.cpp:10: error: stray ‘\200’ in program prog.cpp:10: error: stray ‘\235’ in program prog.cpp:10: error: stray ‘\342’ in program prog.cpp:10: error: stray ‘\200’ in program prog.cpp:10: error: stray ‘\235’ in program prog.cpp: In function ‘int Main()’: prog.cpp:6: error: ‘Clrscr’ was not declared in this scope prog.cpp:7: error: ‘i’ was not declared in this scope prog.cpp:7: error: expected `;' before ‘)’ token prog.cpp:5: warning: unused variable ‘I’ prog.cpp:5: warning: unused variable ‘j’ prog.cpp:14: error: expected `}' at end of input
Standard output is empty