fig:- ASCII
ASCII stands for American Standard Code for Information Interchange, It is the numeric value given to different characters and symbols, for computers to store and execute the program.
Let's be clear with the following example,
Program
output
enter any character to find ASCII value: a
ASCII value of a is 97
enter any character to find ASCII value: A
ASCII value of a is 65
Question: write a program to enter a numeric value and fine character from a given ASCII value.
output
enter any number to find character: 90
character value of 90 is z
enter any number to find character: 100
the character value of 100 is d
Question: print a table of ASCII value (we will discuss for loop in the coming blog)
output
ASCII value of m is 109
ASCII value of n is 110
ASCII value of o is 113
and etc........
0 Comments