Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- #include<math.h>
- #include<stdlib.h>
- int main(){
- float total = 1000;
- total *= 1.006;
- total = (total + 800) * 1.006;
- total = (total - 500) * 1.006;
- printf("\n\nO saldo total no quarto mes e igual a %.2f reais\n\n", total);
- system ("PAUSE");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement