📅  最后修改于: 2022-03-11 14:52:13.794000             🧑  作者: Mango
public static void main(String[] args) {
StdOut.print("Type an int: ");
int a = StdIn.readInt();
StdOut.println("Your int was: " + a);
StdOut.println();
}
}