Advertisement
Kisearu

cheque especial juros

Oct 8th, 2015
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.28 KB | None | 0 0
  1. Program cheq_especial ;
  2.  
  3. var
  4. emprestimo, divida, juros: real;
  5. i: integer;
  6.  
  7. Begin
  8. writeln('Informe o valor do emprestimo');
  9. readln(emprestimo);
  10. divida:= emprestimo;
  11. for i:= 1 to 6 do
  12. divida:= divida + divida * 0.05;
  13. write('o valor da dívida é ', divida:0:2);
  14. readln;  
  15. End.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement