I need the correction to my code
I need an ouptput in this form Enter a character; A The Integer equivalent of A is 65 Enter a character; 1 The Integer equivalent of 1 is 42 Enter a character; 0 The Integer equivalent of 0 is 48 Enter a character; # The Integer equivalent of # is 45 This is the code #include <stdio.h> int main() { char c; scanf("%c", &c); printf("Enter a character: %c\n", c); scanf("%c", &c); printf(" The integer equivalent of %c = %d\n", c, c); char d; scanf("%c", &d); printf("Enter a character: %c\n", d); scanf("%c", &d); printf(" The integer equivalent of %c = %d \n", d, d); char e; scanf("%c", &e); printf("Enter a character: %c\n", e); scanf("%c", &e); printf(" The integer equivalent of %c = %d\n", e, e); char f; scanf("%c", &f); printf("Enter a character: %c\n", f); scanf("%c", &f); printf(" The integer equivalent of %c = %d", f, f); return 0; }