elpimp93 Posted March 6, 2012 Report Share Posted March 6, 2012 Alguém me consegue resolver este problema básico: Escreva uma função recursiva que imprima no ecrã os números entre 0 e N. Obrigado Link to comment Share on other sites More sharing options...
Gonka Posted March 6, 2012 Report Share Posted March 6, 2012 imprime_valores(valor) | valor = valor + 1 imprime_valores(valor) | Onde é que tens dúvidas? Link to comment Share on other sites More sharing options...
elpimp93 Posted March 6, 2012 Author Report Share Posted March 6, 2012 não tou a conseguir compilar, podes detalhar sff? Link to comment Share on other sites More sharing options...
Gonka Posted March 6, 2012 Report Share Posted March 6, 2012 Por favor... Dei-te o algoritmo. Agora implementa na tua linguagem. Link to comment Share on other sites More sharing options...
elpimp93 Posted March 6, 2012 Author Report Share Posted March 6, 2012 Já consegui obrigado 😉 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now