Posts by user24775 • 31 points
2 posts
-
1
votes1
answer128
viewsQ: Portugol doubts about assigning values to characters
I would like to know how to assign to characters values already typed by the user in the loop. Code: nu,cont,contp :inteiro pot :inteiro tipo :caractere inicio cont <- 1 escreval("digite a qtd de…
-
2
votes1
answer290
viewsQ: Difficulty with loop (repetition) in portugol
I’ve got this exercise to do: Make a program that asks the user the amount of power plants energy in a region, after reading this amount of plants, the program requests for each plant what type of…