1. 整数实数用scanf,只写控制符,如%d,%f

    2. 输入字符用getchar。