📜  接受输入的语法 - C 编程语言代码示例

📅  最后修改于: 2022-03-11 15:04:36.929000             🧑  作者: Mango

代码示例1
Integer: Input: scanf("%d", &intVariable); Output: printf("%d", intVariable);
Float: Input: scanf("%f", &floatVariable); Output: printf("%f", floatVariable);
Character: Input: scanf("%c", &charVariable); Output: printf("%c", charVariable);