Posts by Ana • 11 points
1 post
-
1
votes2
answers1132
viewsA: Functions and procedures in Portugol
Observing your code, n1 and n2, in function escreve, are local variables and are not changing the value of n1 and n2 declared in function inicio. That is, when the program runs, even if you assign…