Advertisement
tobast

Untitled

Apr 14th, 2013
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5. string afficheTete(int niveau)
  6. {
  7.     if(niveau == 1)
  8.     {
  9.         cout << /*truc appropriĆ© */;
  10.     }
  11.    
  12.     cout << /* truc appropriĆ© contenant afficheTete(niveau-1) */;
  13. }
  14.  
  15. int main(void)
  16. {
  17.     int niveau;
  18.     cin >> niveau;
  19.  
  20.     afficheTete(niveau);
  21.     cout << '\n';
  22.  
  23.     return 0;
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement