解题思路:8
注意事项:k
参考代码:
public class Main {
public static void main(String[] args) {
Scanner reader = new Scanner(System.in);
int a=reader.nextInt();
int b=reader.nextInt();
float c=((float)b/a)*100;
System.out.print(String.format("%.3f",c)+"%");
}
}
0.0分
0 人评分