close
import java.util.*;
public class AddMath
{
public static void main (String[] args)
{
try
{
int x;
Scanner key = new Scanner(System.in);
System.out.print("整數");
x = key.nextInt();
System.out.println("input x * 100 = " + x*100);
}
catch(InputMismatchException e)
{
System.out.println("不可為文字");
}
}
}
全站熱搜
留言列表