Home » Blog » Tutorial » Programming Solutions » URI Solutions » C » URI problem 1005 solution in C | (Average 1)

URI problem 1005 solution in C | (Average 1)

**Before watch this make sure that you’ve tried enough**

#include<stdio.h>

int main(){

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;

}

You can also Check The Video Tutorial

Check Also

URI problem 1003 solution in C | (Simple Sum)

**Before watch this make sure that you’ve tried enough** #include <stdio.h> int main() { int A,B,SOMA; …

Leave a Reply

Your email address will not be published. Required fields are marked *