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

https://www.gofundme.com/brandon-sigley-family-fund&rcid=r01-154978388809-6e3b6b862f3446ee&pc=ot_co_campmgmt_m Donate to my friend who lost everything t
Consists of people, equipment, and procedures to gathr, sort, analyze and distribute needed, timely and accurate information to marketing decision makers
Tony rates high on positive affectivity. He is likely to be a(n)a. Risk taker and thrill seeker.b. Pessimistc. Optimistd. Emotionally unstable
The word desist means to a. hurry. b. stop. c.argue d. annoy.
Haven't you ever heard the old adage that "you shouldn't count your chickens before they hatch?" What is the best meaning of the word adage as it is used in th
find the value of x and y
Please help? Problem solving in Trig
Brainliest Help me please
History of World War I​
Both the original location and destination must be visible in file explorer when you