fork download
  1. #include<stdio.h>
  2.  
  3. int main(void)
  4. {
  5. int base;
  6. int hight;
  7. float area;
  8.  
  9. printf("밑변의 길이\n");
  10. scanf("%d",&base);
  11.  
  12. printf("높이\n");
  13. scanf("%d",&hight);
  14.  
  15. area = 0.5 * hight * base;
  16. printf("넓이:%f",area);
  17.  
  18. return 0;
  19. }
  20.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.m:1:1: error: stray ‘\343’ in program
 ㅑ#include<stdio.h>
 ^
prog.m:1:2: error: stray ‘\205’ in program
 ㅑ#include<stdio.h>
  ^
prog.m:1:3: error: stray ‘\221’ in program
 ㅑ#include<stdio.h>
   ^
prog.m:1:4: error: stray ‘#’ in program
 ㅑ#include<stdio.h>
    ^
prog.m:1:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘<’ token
 ㅑ#include<stdio.h>
            ^
prog.m:1:12: error: cannot find protocol declaration for ‘stdio’
stdout
Standard output is empty