Write a program to get an input and print the type of input
Answers
Answered by
2
Explanation:
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);
Similar questions
English,
16 days ago
English,
16 days ago
Accountancy,
9 months ago
Physics,
9 months ago
Physics,
9 months ago