Daffodil International University
Problem Link
//Please follow from main function
#include<stdio.h>
int main()
{
double A, B, C, MEDIA;
scanf("%lf", &A);
A=A*2;
scanf("%lf", &B);
B=B*3;
scanf("%lf", &C);
C=C*5;
MEDIA=(A+B+C)/10;
printf("MEDIA = %.1lf\n", MEDIA);
return 0;
}
0 Comments