fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int Fizz
  6. int Buzz
  7. int i
  8. int n
  9. for(int i=1; i<=n; i++);
  10. {
  11. printf("%d\n" , i);
  12.  
  13. }
  14. return 0;
  15. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:6:2: error: expected initializer before ‘int’
  int Buzz
  ^~~
prog.cpp:9:15: error: ‘i’ was not declared in this scope
  for(int i=1; i<=n; i++);
               ^
prog.cpp:9:18: error: ‘n’ was not declared in this scope
  for(int i=1; i<=n; i++);
                  ^
stdout
Standard output is empty