import java.util.Scanner;
public class JPA201 {
static Scanner keyboard = new Scanner(System.in);
public static void main(String[] args) {
test();
test();
}
public static void test() {
System.out.println("Please enter score:");
if(keyboard.nextDouble()>60){
System.out.println("You pass");
}
System.out.println("End");
}
}
static double calRectangle(double x,double y) {
return x*y/2;
}
}
沒有留言:
張貼留言