Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- double a,b,TOTAL;
- char word[256];
- scanf("%s", &word);
- scanf("%lf %lf",&a,&b);
- TOTAL=a+((b/100)*15);
- printf("TOTAL = R$ %.2lf\n",TOTAL);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement