fork download
  1. #include<stdio.h>
  2. main()
  3. {
  4. int i,v,d,c=0;
  5. scanf("%d%d%d",&i,&v,&d);
  6. if(i!=0||v!=0||e!=0)
  7. {
  8. c=c+i*25+v*30+d*35;
  9. Printed("%d",c);
  10. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
1
1
1
compilation info
prog.c:2:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^
prog.c:6:16: error: use of undeclared identifier 'e'
if(i!=0||v!=0||e!=0)
               ^
prog.c:9:1: warning: implicit declaration of function 'Printed' is invalid in C99 [-Wimplicit-function-declaration]
Printed("%d",c);
^
prog.c:10:2: error: expected '}'
}
 ^
prog.c:3:1: note: to match this '{'
{
^
2 warnings and 2 errors generated.
stdout
Standard output is empty