Report zilch198's Profile

Statistics

All Anime Stats Anime Stats
Days: 187.5
Mean Score: 10.00
  • Total Entries159
  • Rewatched20
  • Episodes11,250
Anime History Last Anime Updates
Sousou no Frieren
Sousou no Frieren
Jan 10, 7:48 PM
Watching -/28 · Scored 10
"Oshi no Ko"
"Oshi no Ko"
Apr 21, 2023 7:21 AM
Watching 1/11 · Scored 10
All Manga Stats Manga Stats
Days: 0.0
Mean Score: 10.00
  • Total Entries6
  • Reread0
  • Chapters0
  • Volumes0
Manga History Last Manga Updates
Floor ni Maou ga Imasu
Floor ni Maou ga Imasu
May 21, 2017 10:13 PM
Reading - · Scored -
Akame ga Kill!
Akame ga Kill!
Apr 21, 2014 5:45 PM
Reading -/80 · Scored 10
Magical☆Star Kanon 100%
Magical☆Star Kanon 100%
Feb 23, 2014 5:13 PM
Reading -/6 · Scored 10

All Favorites Favorites

Anime (10)
Manga (1)
Character (10)

All Comments (10) Comments

Would you like to post a comment? Please login or sign up first!
zilch198 Jul 16, 2015 2:02 AM
import javax.swing.*;

public class Permutation{

public static void main (String [] args){


String input1, input2;
long num, pick;

input1=JOptionPane.showInputDialog("Enter N:");
input2=JOptionPane.showInputDialog("Enter R:");

num=Long.parseLong(input1);
pick=Long.parseLong(input2);

long x=1;
long y=1;
long total=0;

long num1=1;

if (num>= 0){

y=num-pick;
while(num>1){

x=x*num;

num=num-1;



}
// System.out.println(x);

if (y>=0){

while(y>1){

num1=num1*y;
total=x/num1;
y=y-1;
}
System.out.println(total);
}
else{

System.out.println("Incorrect value of r");
}
}

}



}




-Hyperion- Apr 24, 2014 4:12 AM
Come join us at The Ecchi Society

It’s time to ditch the text file.
Keep track of your anime easily by creating your own list.
Sign Up Login