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