Answers for "ascii value range of a to z"

3

ascii value of a to z

ASCII Value for a = 97 to z = 122
ASCII Value for A = 65 to Z = 090
Posted by: Guest on February-04-2022
0

ascii value range of a to z

#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;
    }
    

}
Posted by: Guest on May-01-2022

Browse Popular Code Answers by Language