Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  gpeng
Language: C/C++
Code:
#include <stdio.h>
int main(){

int n,m,o,p,hari,i;

scanf("%d", &n);
scanf("%d", &m);
scanf("%d", &o);
scanf("%d", &p);
scanf("%d", &hari);

printf("%d", ((n*100)+(m*150)+(o*75)+(p*175))*hari);

return 0;
}
          
Comments: