prog.c: In function 'main':
prog.c:6:18: error: 'a' undeclared (first use in this function)
scanf("%f%f%f",&a,&b,&c);
^
prog.c:6:18: note: each undeclared identifier is reported only once for each function it appears in
prog.c:6:21: error: 'b' undeclared (first use in this function)
scanf("%f%f%f",&a,&b,&c);
^
prog.c:6:24: error: 'c' undeclared (first use in this function)
scanf("%f%f%f",&a,&b,&c);
^
prog.c:8:2: error: 'perimeter' undeclared (first use in this function)
perimeter = a + b + c;
^