1.scanf(格式占位符列表,变量地址列表);scanf(格式控制字符串,输入参数1,...,输入参数n); 2.printf(格式占位符列表,变量列表);printf(格式控制字符串,输出参数1,...,输出参数n)。