Friday 9 May 2014

Write a program which accepts a character and display its ASCII value.

Leave a Comment
using namespace std;
int main()
    char ch;
    cout<<"Please Enter a character and check its ASCII Value ";
    cout<<"ASCII Value of "<<ch<<" is = "<<(int)ch;
If You Enjoyed This, Take 5 Seconds To Share It

0 Questions: