Write a program in c++ to display the character by entering its ASCII value.
eg:ASCII value = 52
character = 4.
Answers
Answered by
2
pls refer attached picture
Attachments:
Answered by
1
Question:-
- Write a program in c++ to display the character by entering its ASCII value.
Program:-
This is written in C++
#include <stdio.h>
int main()
{
int x;
char ch;
cout<<"Enter a number: ";
cin >> x;
ch=x;
cout<<ch;
return 0;
}
Similar questions