fork download
  1. #include<stdio.h>
  2. main()
  3. {
  4. float l,b,A
  5. printf[enter the values of l,b];
  6. scanf["%f","%f"&l,&b];
  7. A=l*b;
  8. printf("area is%f",A);
  9. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
l=12,b=3
compilation info
prog.c:2:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main()
^
prog.c:4:12: error: expected ';' at end of declaration
float l,b,A
           ^
           ;
prog.c:6:16: error: invalid operands to binary expression ('char *' and 'float')
scanf["%f","%f"&l,&b];
           ~~~~^~
1 warning and 2 errors generated.
stdout
Standard output is empty