Validador de numero primo #344
Unanswered
caroldpr
asked this question in
Dúvidas / Perguntas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
nao esta rodando certo
programa {
funcao logico ehPrimo(inteiro numero) {
se (numero <= 1)
retorne falso
senao se ( numero % i == 0)
retorne falso
retorne verdadeiro
}
funcao inicio() {
}
}
Beta Was this translation helpful? Give feedback.
All reactions