摘要:
1 import java.util.Scanner; 2 public class AdditionQuiz { 3 public static void main(String[] args){ 4 int number1 = (int)(System.currentTimeMillis()%10); 5 int number2 = (int... 阅读全文
摘要:
1 import javax.swing.JOptionPane; 2 public class TheDirection { 3 public static void main(String[] args){ 4 double a,b,c,t,r1,r2; 5 String number; 6 int messageType=... 阅读全文
摘要:
1 import javax.swing.JOptionPane; 2 public class Distance { 3 public static void main(String[] args){ 4 String number; 5 double x1,x2,y1,y2,distance; 6 number=JOptio... 阅读全文
摘要:
1 import javax.swing.JOptionPane; 2 public class FrostTemperature { 3 public static void main(String[] args){ 4 double twc,ta,v; 5 String number; 6 number = JOption... 阅读全文
摘要:
1 import javax.swing.JOptionPane; 2 public class Population{ 3 public static void main(String[] args){ 4 int sum,s,years; 5 String number; 6 number = JOptionPane.showInputDialog(null,"Enter th... 阅读全文
摘要:
1 import javax.swing.JOptionPane; 2 public class Acceleration { 3 public static void main(String[] args){ 4 double v0,v1,t,a; 5 String number; 6 number=JOptionPane.s... 阅读全文
摘要:
1 import java.util.Scanner; 2 public class Rate { 3 public static void main(String[] args){ 4 Scanner input = new Scanner(System.in); 5 System.out.println("Enter the subtotal... 阅读全文
摘要:
1 import java.util.Scanner; 2 public class Out { 3 public static void main(String[] args){ 4 Scanner input = new Scanner(System.in); 5 System.out.println("Enter a degree in C... 阅读全文
摘要:
1 import java.util.Scanner; 2 public class Mi { 3 public static void main(String[] args){ 4 Scanner input = new Scanner(System.in); 5 System.out.println("Enter a value for fe... 阅读全文
摘要:
1 import javax.swing.JOptionPane; 2 public class Years { 3 public static void main(String[] args){ 4 String mine; 5 int years,days,mines; 6 mine=JOptionPane.showInpu... 阅读全文