For programmers, testers and tech geeks

Input number and convert into ASCII code using C++

#include<iostream>
#include<conio.h>
using namespace std;
void main()
{
    int x;
    cout<<"Enter the number =";
    cin>>x;
    cout<<char(x);
    getch();
}