#include <iostream.h> #include <conio.h> void rekursif(int x){ if(x>=1){ rekursif(x-1); cout<<"\n"<<x; } }; int main() { int y; cout<<"Masukan batasangka yang anda inginkan : "; cin>>y; rekursif(y); |
Tuesday, March 15, 2011
C++
0 Response to " Konversi function rekursif "
Post a Comment