Problem1172--Java 计算三个整数之积

1172: Java 计算三个整数之积

Time Limit: 1 Sec  Memory Limit: 128 MB
Submit: 1  Solved: 1
[Submit] [Status] [Web Board] [Creator:]

Description

填空

// Calculate the product of three integers 
import javax.swing.JOptionPane;
public class Java_1 {
    public static void main(String args[]) {
        int x, y, z, result;
        String xVal, yVal, zVal;
        //*********Found********** 
        xVal = JOptionPane._____________________("输入第1个整数:");
        yVal = JOptionPane.showInputDialog("输入第2个整数:");
        zVal = JOptionPane.showInputDialog("输入第3个整数:");
        //*********Found********** 
        x = Integer.___________________(xVal);
        y = Integer.parseInt(yVal);
        z = Integer.parseInt(zVal);
        result = x * y * z;
        //*********Found********** 
        ____________________.showMessageDialog(null,
                "三个整数之积是" + result);
        System.exit(0);
    }
}

Source/Category