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

I need these 2 question this is important like actually
Select the correct answer. Which TWO objects are likely to have SSD chips in them? 1. office access card 2. bank debit card 3. food service token 4. discount co
When is a parcel of air considered to be stable?
INTRUCTION: Write the Music Era described in each sentence​
1. Identify at least 3 general relevant psychology related problems at present.
Write an expression: The original price p of an item less a discount of 20%
How does the distance from the mainland affect the number of species?
How do I answer a question on here?
Compare and contrast the three foundation theories behind Inquiry-based Learning​
I don't understand PLEASE help!!!! 1.Identify and list at least 5 things about the Congressional profiles that strike you as odd (former occupations, education