Advertisement
Guest User

Untitled

a guest
Aug 26th, 2014
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 0.25 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. void hitungLagi(int atas);
  4. main()
  5. {
  6.    hitungLagi(10);
  7.    printf("\n");
  8.    system("PAUSE");
  9.    return 0;
  10. }
  11. void hitungLagi(int atas)
  12. {
  13.    if(atas > 1)
  14.       hitungLagi(atas-1);
  15.  
  16.    printf("%4d", atas);
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement