Posts by Naruto senin • 1 point
2 posts
-
0
votes1
answer126
viewsQ: How to display all primes of N starting at 1 from a given input?
This is the algorithm that I have been able to develop so far in portugol: programa { funcao inicio() { inteiro n1, soma ,div,div2 escreva("digite um numero") leia(n1) para(inteiro i=1 ;i < n1 ;…
portugolasked Naruto senin 1 -
0
votes1
answer43
viewsQ: receive the quantity of a product and the value and ask if Qur type any more product if yes have to repeat the process and then show the total
but I need to add up the total of every time rodando programa { funcao inicio() { cadeia nome real val, total inteiro quant caracter opcao = 'f' enquanto(opcao !='n') { escreva("digite o nome do…
portugolasked Naruto senin 1