Advertisement
Guest User

Untitled

a guest
Aug 29th, 2015
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main() {
  4.  
  5. char palavra[100];
  6.  
  7. scanf("%s",palavra);
  8.  
  9. double sa,v,t;
  10.  
  11. scanf("%lf %lf %lf",&t,&sa,&v);
  12.  
  13. t = sa + 0.15*v;
  14.  
  15. printf("TOTAL = R$ %.2lf",t);
  16.  
  17. return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement