编程实现从键盘输入k,