MIPI_BaseC_WebinarFRTK/16_Seminar03/04_averege_p_6.c

10 lines
158 B
C
Raw Normal View History

2024-11-13 09:22:28 +03:00
#include <stdio.h>
int main(){
int a, b, c;
float averege;
scanf("%d%d%d", &a, &b, &c);
averege = (a + b + c) / 3.;
printf("%.2f\n", averege);
return 0;
}