Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8" />
- <title>Exercicio 13</title>
- <script type = "text/javascript">
- var carrosVendidos =parseFloat(prompt("Carros vendidos"))
- var valorTotalMensal = parseFloat(prompt("valor total das vendas mensais feitas por esse vendedor."))
- var mensalidade = 800 + carrosVendidos * 100 + valorTotalMensal *0.01
- alert("Mensalidade = " + mensalidade)
- </script>
- </head>
- <body>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement