Answers

2015-09-28T12:36:04+05:30

This Is a Certified Answer

×
Certified answers contain reliable, trustworthy information vouched for by a hand-picked team of experts. Brainly has millions of high quality answers, all of them carefully moderated by our most trusted community members, but certified answers are the finest of the finest.
#include <iostream>using namespace std;
int main(){ char x; int numeric; cout << "Give character: "; cin >> x; cout << "Its ascii value is: " << (int) x << endl; cout << "Give a number to convert to ascii: "; cin >> numeric; cout << "The ascii value of " << numeric << " is " << (char) numeric; return 0;}
1 5 1
It is a cpp file u can open it in dev ++ ide,notepad ,visual c++,turbo c++ etc