【样例输入】10.2 5.6【样例输出】The area is:57.12
package helo;
import java.util.Scanner;
import java.text.DecimalFormat;
public class hello2 {
public static void main(String[] args) {
// TODO 自动生成的方法存根
Scanner sc=new Scanner(System.in);
double c=sc.nextDouble();
double c1=sc.nextDouble();
double s=c*c1;
DecimalFormat df = new DecimalFormat("######0.00");
df.format(s);
System.out.println("The area is:"+ df.format(s));
}
}