Please know the following is the calculation formula of permutations:
sourcecode:
#include
#include
class per{
public:
masukan();
proses();
private:
int n,r,i;
int faktorn,faktorr;
};
per::masukan(){
cout<<"\t\tProgram Permutasi "<
}
int main(){
per x;
x.masukan();
x.proses();
getch();
return 0;
}
0 komentar:
Post a Comment