Find the ASCII codes of letters in lower and upper cases, numbers, and special characters
Question
Find the ASCII codes of letters in lower and upper cases, numbers, and special characters
Solution
Sure, here are the ASCII codes for different types of characters:
-
Lowercase letters:
- 'a' to 'z' : ASCII values are from 97 to 122.
-
Uppercase letters:
- 'A' to 'Z' : ASCII values are from 65 to 90.
-
Numbers:
- '0' to '9' : ASCII values are from 48 to 57.
-
Special characters:
- Space ' ' : ASCII value is 32.
- Exclamation mark '!' : ASCII value is 33.
- Double quotes '"' : ASCII value is 34.
- Hash '#' : ASCII value is 35.
- Dollar sign '$' : ASCII value is 36.
- Percent '%' : ASCII value is 37.
- Ampersand '&' : ASCII value is 38.
- Single quote ''' : ASCII value is 39.
- Open parenthesis '(' : ASCII value is 40.
- Close parenthesis ')' : ASCII value is 41.
- Asterisk '*' : ASCII value is 42.
- Plus '+' : ASCII value is 43.
- Comma ',' : ASCII value is 44.
- Minus '-' : ASCII value is 45.
- Period '.' : ASCII value is 46.
- Slash '/' : ASCII value is 47.
Please note that there are many more special characters, and each has its own ASCII value. You can find a complete ASCII table online for more details.
Similar Questions
Find ASCII value of a character
Decode the following ASCII code: 1010011 1110100 1100101 1110110 1100101 0100000 1001010 1101111 1100010 1110011
To solve this challenge, find the characters that correspond to the following ASCII codification: 84 104 105 115 32 105 115 32 66 108 117 101 32 84 101 97 109 32 76 101 118 101 108 32 49 32 40 66 84 76 49 41 32 67 101 114 116 105 102 105 99 97 116 105 111 110 10Format: Plaintext String Next
Write a program to check whether a given character is Alphabet or not using if else statement Note: Check for both upper and lower case characters
Write a C program to read an English Alphabet through keyboard and display whetherthe given alphabet is in upper case or lower case.
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.