Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Forma recursiva
- #include <stdio.h>
- #include <stdlib.h>
- void exibe (int n){
- if (n>0){
- printf("%3d\n", n);
- exibe (n-1);
- }
- }
- main (){
- int n=30;
- exibe (n);
- getchar();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement