Advertisement
Hiitmarqes

Untitled

Sep 13th, 2019
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. programa
  2. {
  3.  
  4. funcao inicio()
  5. {
  6. cadeia snome
  7. real salarioFixo, totalVendas, comissao, totalMes
  8. escreva("VENDEDOR: ")
  9. leia(snome)
  10. escreva("SALÁRIO: ")
  11. leia(salarioFixo)
  12. escreva("TOTAL DE VENDAS: ")
  13. leia(totalVendas)
  14. limpa()
  15. comissao = (totalVendas*15)/100
  16. totalMes = comissao + salarioFixo
  17.  
  18. escreva("VENDEDOR: ", snome)
  19. escreva("\nSALARIO NORMAL R$",salarioFixo,
  20. "\nSALÁRIO COM COMISSAO: R$",totalMes)
  21.  
  22.  
  23.  
  24.  
  25. //basico
  26. }
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement