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