[Variáveis]
(Real)Hamburguer = 12
(Real)Batata = 7
(Real)Refrigerante = 5
(Real)Total = 0
[Entradas]
Escreve “Olá por favor, insira seu pedido”
Escreve “Qual a quantidade de hamburguers?”
Recebe (Qtd_hamburguer)
Escreve “Qual a quantidade de batatas?”
Recebe (Qtd_batata)
Escreve “Quantos refrigerantes você deseja?”
Recebe (Qtd_refrigerante)
[Condicional]
Se Qtd_hamburguer > 0
total = total + (hamburguer * Qtd_hamburguer)
Se Qtd_batata > 0
total = total + (batata * Qtd_batata)
Se Qtd_refrigerante > 0
total = total + (refrigerante * Qtd_refrigerante)
Exibir o valor de total
[Saida]
Escreve “O total do seu pedido é (total)”