fork download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. int a,b,c;
  5. a=1,b=25;
  6. do
  7. {
  8. printf("%d",a);
  9. a=a+1;
  10. P=a*b;
  11. }
  12. while(a<=10)
  13. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.c:10:1: error: use of undeclared identifier 'P'
P=a*b;
^
prog.c:12:13: error: expected ';' after do/while statement
while(a<=10)
            ^
            ;
2 errors generated.
stdout
Standard output is empty