Computer Science, asked by dorabuji422, 1 month ago

Write a program to get an input and print the type of input​

Answers

Answered by suyashgupta362
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