-1
Good evening, everyone. How do I interrupt a command in visualG?
What has been requested:
Write an algorithm that writes a sentence on the screen until the letter "F" is typed (without quotation marks). The phrase is as follows: The message will be stopped when the "F" key is pressed.
What I did:
Var
// Seção de Declarações das variáveis
x,f: caracter
Inicio
// Seção de Comandos, procedimento, funções, operadores, etc...
escreval ("A mensagem será interrompida quando a tecla F for pressionada.")
leia (x)
escreval ("Pressione a letra F para interromper a mensagem.")
leia (f)
Fimalgoritmo
Toguchi, equally like your other question, if you don’t develop a Minimum, Complete and Verifiable Example that demonstrates the problem that is going through use question will be CLOSED, edit your question and put an excerpt from your code.
– Luiz Augusto
I’ll be editing the question now.
– toguchi