Answers for "input method in c"

C
17

Syntax To Take Input In C

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);
Posted by: Guest on August-12-2020

Code answers related to "C"

Browse Popular Code Answers by Language