package homework;
import java.util.Scanner;
public class e {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner in=new Scanner(System.in);
int a,b;
a=in.nextInt();
b=in.nextInt();
double p;
p=100*b/a;
System.out.printf("%.3f",p);
}
}
用的是Eclipse吗? 你调下Java complier 》 complier compliance lever,往上调,调用1.7