Computer Science, asked by Anonymous, 1 year ago

Write a program in c++ to display the character by entering its ASCII value.
eg:ASCII value = 52
character = 4.

Answers

Answered by aditya1984
2
pls refer attached picture
Attachments:
Answered by anindyaadhikari13
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