Guest User

Untitled

a guest
Oct 23rd, 2019
77
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2.  
  3. void Clean(int floor)
  4. {
  5. if(floor==0)
  6. {
  7. return;
  8. }
  9. else
  10. Clean(floor-1);
  11. printf("%d th Floor is Clean\n",floor);
  12. }
  13.  
  14.  
  15. int main()
  16. {
  17.  
  18. int floor = 5;
  19. Clean(floor);
  20. }
RAW Paste Data