fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int a = 2;
  5. int b = 1;
  6. printf("%d",a);
  7. while(b =< 7){
  8. a += 3;
  9. printf("%d",a);
  10. b += 1;
  11. a += 2;
  12. printf("%d",a);
  13. b += 1;
  14. }
  15. return 0;
  16. }
  17.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp: In function ‘int main()’:
prog.cpp:7:12: error: expected primary-expression before ‘<’ token
   while(b =< 7){
            ^
stdout
Standard output is empty