1
I wrote the following pseudocode only that I am receiving the following error: The program scope has not been closed properly. enter the character '}'
to fix the problem. I have tried to close with the '}'
only it ends up generating more mistakes, someone could help me?
programa
{ Var cont, somatoria: inteiro
funcao inicio()
{ cont ← 0
para cont ← 1 Ate 100 Faca
soma ← soma + cont
cont ← cont + 1
fim para
escreva "A somatoria é: ", soma
}
}
What tool is this being written on?
– Leonel Sanches da Silva
I’m using Portugol Studio.
– matheus ferreira