prog.c:3:1: warning: return type defaults to 'int' [-Wimplicit-int]
main() {
^
prog.c: In function 'main':
prog.c:6:30: error: expected '=', ',', ';', 'asm' or '__attribute__' before numeric constant
float decimal1=2.5, decimal2 1.5;
^
prog.c:9:30: error: 'decimal2' undeclared (first use in this function)
printf("1.5/2.5 = %.3f\n\n", decimal2/decimal1);
^
prog.c:9:30: note: each undeclared identifier is reported only once for each function it appears in