Horje
C# program that print charater from A to Z and it's corresponding number Code Example
C# program that print charater from A to Z and it's corresponding number
#include <stdio.h>
int main() {
    char c;
    printf("Enter u to display uppercase alphabets.\n");
    printf("Enter l to display lowercase alphabets. \n");
    scanf("%c", &c);

    if (c == 'U' || c == 'u') {
        for (c = 'A'; c <= 'Z'; ++c)
            printf("%c ", c);
    } else if (c == 'L' || c == 'l') {
        for (c = 'a'; c <= 'z'; ++c)
            printf("%c ", c);
    } else {
        printf("Error! You entered an invalid character.");
    }

    return 0;
}




Csharp

Related
c# onmousedown. unity Code Example c# onmousedown. unity Code Example
Web forms switch page Code Example Web forms switch page Code Example
vb.net convert int32 into boolean array stack overflow Code Example vb.net convert int32 into boolean array stack overflow Code Example
How to create a new object instance from a Type Code Example How to create a new object instance from a Type Code Example
.net ssh, wait command execute Code Example .net ssh, wait command execute Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7