c programming printf and scanf code example
Example 1: printf c
#include <stdio.h>
int main () {
int ch;
for( ch = 75 ; ch <= 100; ch++ ) {
printf("ASCII value = %d, Character = %c\n", ch , ch );
}
return(0);
}
Example 2: c printf scanf
int a;
scanf("%d", &a);
printf("%d", a);