0
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 n<0 entao
me<- me+1
senao
se n>0 entao
ma<-ma+1
fimse
i<-i+1
fimenquanto
escreval ("a quantidade de numeros maiores inseridos foi:",ma)
escreval ("e a quantidade de numeros menores inseridos foi:",me)
fimalgoritmo
got it, thanks
– eduardo
@If this answer solved your problem and there is no doubt left, mark it as correct/accepted by clicking on the " " that is next to it, which also marks your question as solved. If you still have any questions or would like further clarification, feel free to comment.
– Victor Stafusa