BleepyEvans said:
Your the only active non staff member
Well, once you've made over 1000 posts on a forum, you can bet that you're not going to be leaving any time soon.
I win.
[java]import java.util.Scanner;
public class main {
public static void main(String[] args) {
Scanner kills = new Scanner(System.in);
Scanner deaths = new Scanner(System.in);
System.out.println("Enter the amount of kills, press enter, then enter the amount of deaths, and press enter.");
double howmanykills = kills.nextDouble();
double howmanydeaths = deaths.nextDouble();
double kd = howmanykills/howmanydeaths;
System.out.print("Your kill/death ratio is: ");
System.out.println(kd);
if (kd >= 1) {
System.out.println("Well done!");
}
else if (kd <= 1) {
System.out.println("Your kill/death ratio is lower than one. I am disappoint.
");
}
else {
System.out.println("Unexpected error!");
}
}
}[/java]
I can't seem to make a JAR though, so...