shikharrai114p41vpc shikharrai114p41vpc
  • 10-10-2018
  • Computers and Technology
contestada

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

Respuesta :

tonb
tonb tonb
  • 10-10-2018

You could do it like this:

#include <iostream>


int main()

{

int c;

do

{

 std::cout << "Enter ASCII value (0 to exit): ";

 std::cin >> c;

 std::cout << "Character = " << char(c) << std::endl;

} while (c > 0);

}

Answer Link

Otras preguntas

Both of the athletes showed _______________ support. his their his or her it
The flowers you received last week appear wizened. What will you do with them? Why?
What is this anwser for 1/3+v=25 for in this problem
Six plus four times a number, plus four minus four times the number.
You have 500 mL of a 4.00 M solution of KNO3 from a previous experiment, but now you need 250 mL of a 0.500 M concentration of the same solution. How much of th
Why is Gandhi considered one of the most influential people of the twentieth century?
Which of the following expressions is equivalent to the one shown below (3/2)^8
A metal ball attached to a spring moves in simple harmonic motion. The amplitude of the ball's motion is 11.0 cm, and the spring constant is 5.50 N/m. When the
What is the circumference and area.
Over which interval is the graph of the parent absolute value function f(x) = |x| decreasing? (00,00) O (-0,0) (-6,0) 0 (0,00)