Debs_go 0 Denunciar post Postado Novembro 25, 2018 BOA NOITE, ESTOU FAZENDO UM ALGORITIMO DE RECEITA NO QUAL PRECISO USAR "CASO, SENAO,SE" TENTEI FAZER, MAS ACREDITO QUE CONTEM ERRO .. ALGUÉM ME DÁ UM HELP ... (SOU INICIANTE) var Forma: caracter Mandioca: Real azeite, salsinha, cebolinha, sal: real inicio Escreval (" Vamos iniciar a receita") Escreval ("os ingredientes mandioca, azeite, salsinha, cebolinha, sal") Leia (Forma) Se Forma = "mandioca" ENTAO Escolha Mandioca Senao "Mandioca, azeite, salsinha, cebolinha,sal" = Forma ENTAO Caso "salsinha + cebolinha + sal" = Forma Leia (Forma) Escreval ("vai ficar saboroso") FIMSE fimalgoritmo Compartilhar este post Link para o post Compartilhar em outros sites
BOA NOITE, ESTOU FAZENDO UM ALGORITIMO DE RECEITA NO QUAL PRECISO USAR "CASO, SENAO,SE"
TENTEI FAZER, MAS ACREDITO QUE CONTEM ERRO .. ALGUÉM ME DÁ UM HELP ... (SOU INICIANTE)
var
Forma: caracter
Mandioca: Real
azeite, salsinha, cebolinha, sal: real
inicio
Escreval (" Vamos iniciar a receita")
Escreval ("os ingredientes mandioca, azeite, salsinha, cebolinha, sal")
Leia (Forma)
Se Forma = "mandioca" ENTAO
Escolha Mandioca
Senao "Mandioca, azeite, salsinha, cebolinha,sal" = Forma ENTAO
Caso "salsinha + cebolinha + sal" = Forma
Leia (Forma)
Escreval ("vai ficar saboroso")
FIMSE
fimalgoritmo
Compartilhar este post
Link para o post
Compartilhar em outros sites