Friday, May 27, 2016

SOLUTION OF URI 1010


//    question of uri  1010 Simple Calculate
// 1010  (Mahmud_Jamil) BRUR





#include <stdio.h>
int main()
{
    int a,b,d,e;
    float c,f,g;
    scanf("%d %d %f %d %d %f",&a,&b,&c,&d,&e,&f);
    g=(b*c+e*f);
    printf("VALOR A PAGAR: R$ %.2f\n",g);

    return 0;
}