xxxxxxxxxx
ASCII Value for a = 97 to z = 122
ASCII Value for A = 65 to Z = 090
xxxxxxxxxx
A = 65
B = 66
C = 67
D = 68
E = 69
F = 70
G = 71
H = 72
I = 73
J = 74
K = 75
L = 76
M = 77
N = 78
O = 79
P = 80
Q = 81
R = 82
S = 83
T = 84
U = 85
V = 86
W = 87
X = 88
Y = 89
Z = 90
xxxxxxxxxx
#include <stdio.h>
char a[3];
int main() {
int i;
int start,stop;
printf("please enter the range in the form of e-m ");
scanf("%c%c%c",&a[0],&a[1],&a[2]);
for (i=0;i<=3;i++){
printf(" %c",a[i]);
}
start=a[0];
stop=a[2];
while (start<=stop){
printf("\n %c\t%d",start,start);
start=start+1;
}
}