Saturday, May 12, 2012

ASCII Value

hello Guys!!! How are you, all? Hope, you all are well by the grace of Almighty ALLAH. Today we learn how to find the ASCII value of a ASCII character.

Problem:  Write a program that takes a character as input and outputs the ASCII value of that character.


Solve:


ASCII stands for American Standard Code for Information Interchange. Computer can only understand numbers, so an ASCII is the numerical representation of a character such as 'a' or '@' or an action of some sort. Let's look at the program:


















This code is also be written by following way:
















You can download the ASCII table from here.

Thank you all..:)

0 comments:

Post a Comment