Last active
June 17, 2019 14:36
-
-
Save Rajssss/c081dcdc578d97d2a067ca5b4fe4be95 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| int main() | |
| { | |
| int x, y; | |
| printf("Enter 5 digit No. =>"); | |
| scanf("%d", &x); | |
| printf("Reverse of the No. %d is =>", x); | |
| while(x>0) | |
| { | |
| y = x % 10; | |
| printf("%d", y); | |
| x /= 10; | |
| } | |
| return 0; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include<stdio.h> | |
| int main() | |
| { | |
| char Alpha; | |
| printf("Enter an Aplphabate =>"); | |
| scanf("%c",&Alpha); | |
| if (Alpha == 'a' || Alpha == 'e' || Alpha == 'i' || Alpha == 'o' || Alpha == 'u' || | |
| Alpha == 'A' || Alpha == 'E' || Alpha == 'I' || Alpha == 'O' || Alpha == 'U') | |
| { | |
| printf("%c is Vowel!\n", Alpha); | |
| } | |
| else | |
| { | |
| printf("%c is Consonent!\n", Alpha); | |
| } | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment