Tuesday, January 3, 2012

contoh program membuat faktorial C++



contoh program pembuatan faktorial c++

#include
#include

long int faktorial(int N);

void main() {
int N;
long int fak;

cout<<"masukkan angka : ";cin>>N;
fak = faktorial(N);
cout<

No comments:

Post a Comment