Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(int a = 0; a < 2 ; a++){
- for(int b = 0; b < 3 ; b++){
- for(int c = 0; c < 5; c++){
- for(int d = 0; d < 11 ; d++){
- for(int e = 0 ; e < 21; e++){
- for(int f = 0 ; f < 41 ; f++){
- for(int g = 0 ; g < 101 ; g++){
- for(int h = 0 ; h < 201 ; h++){
- if(a*Coins.p200 + b*Coins.p100 + c*Coins.p50 + d*Coins.p20 + e*Coins.p10 + f*Coins.p5 + g*Coins.p2 + h*Coins.p1 == 200){
- possibilites += 1;
- }
- }
- }
- }
- }
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement