famouscoder
Wednesday, May 6, 2020
URI 1005 - Average 1
#include<stdio.h>
int main(void)
{
double A ,B , MEDIA;
scanf("%lf%lf",&A,&B);
A=A*3.5;
B=B*7.5;
MEDIA=(A+B)/11;
printf("MEDIA = %0.5lf\n",MEDIA);
return 0;
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment