segunda-feira, 18 de fevereiro de 2019

URI 1010

#include <stdio.h>
#include <stdlib.h>

int main() {
    int x1, x2, x4, x5;
    float x3, x6, x7, x8,x9;
    scanf("%d %d %f %d %d %f",&x1 ,&x2,&x3,&x4,&x5,&x6);
    x7 = x2 * x3 ;
    x8 = x5 * x6 ;
    x9 = x7 + x8 ;
    printf("VALOR A PAGAR: R$ %.2f \n",x9);
   
   
   
   
    return 0;
}