nikolas_serafini

Lista 1 - Exercício 9

May 21st, 2013
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.32 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6.     float deposit,tax,mont;
  7.  
  8.     printf("Entre com o valor depositado : \n"); scanf("%f",&deposit);
  9.     printf("Entre com a taxa de juros simples : \n"); scanf("%f",&tax);
  10.  
  11.     mont = deposit*(1+tax);
  12.  
  13.     printf("O montante, apos um mes, eh de : %f\n",mont);
  14.     return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment