```cpp
include[HTML_REMOVED]
using namespace std;
int main(){
int n1,n2,N1,N2;
double price1,price2,X;
scanf(“%d %d %lf”,&n1,&N1,&price1);//scanf不要忘了&!!!
scanf(“%d %d %lf”,&n2,&N2,&price2);
X=N1price1+N2price2;
printf(“VALOR A PAGAR: R$ %.2lf”,X);
return 0;
}