All pastes #333148 Raw Edit

Someone

public cpp v1 · immutable
#333148 ·published 2007-01-30 18:48 UTC
rendered paste body
#include <iostream>using namespace std;int inverse( int );    // Prototype de la Fonction récursive inverse.int inverse( int x )   // Définition de la Fonction récursive inverse.{   int y;   y = x % 10;   if( ( double ) ( y ) >= 0.01 )   {   cout<<y;           if( ( x / 10 ) == 0 )	     cout<<endl;   }   return inverse( x / 10 );}int main(){   int a;   cout<<"Entrer un entier: "<<endl;   cin>>a;   inverse( a );   return 0;}