taking input in c language code example
Example 1: 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);
Example 2: print to screen c
printf("what do u print on screen"); //use \n between ""
//to skip a line