Posts by eduardo • 31 points
3 posts
-
1
votes1
answer653
viewsQ: Visualg algorithm: disregard number 0
I’m solving the following exercise: Write an algorithm that averages the numbers typed by the user, if they are even. Finish reading if the user type zero (0) However, when I type 0 to finish, it is…
-
1
votes1
answer1729
viewsQ: Finish repeat loop Repeat Visualg loop
When we use the repita along with the ate at the end of the block, we should also use the fimrepita? If not, when we use this? algoritmo "semnome" var t,n,i,m:inteiro inicio i<-0 repita escreval…
-
0
votes1
answer321
viewsQ: "fimenquanto sem enquanto correspondente" error
algoritmo "semnome" var n,i,ma,me:inteiro inicio i<-0 me<-0 ma<-0 enquanto (i<21) faca Escreval ("insira um numero inteiro:") leia (n) se…