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

someone please help!!​
Why did Hagrid want a charm on the chicken coop? "Harry Potter And The Chamber Of Secrets"
What is the slope of the line that passes through the points (4,8) and (-2,1) ?
I NEED ANSWERED ASAP NO LINKS!!!
What is the slope of the line that passes through the points (10,5) and (9,5)? Write your answer in simplest form.
A good introduction does all EXCEPT
What are collaborative discussions MOST similar to? a debate between two people with opposing ideas two people arguing about a topic or issue one team of baseba
Cell Phone Towers Towers Assessment Practice 14. The table shows the number of cell phone towers a company will build as the number of its customers increases.
IGLNVI-what word is this unscramble
Which of the following tables could represent a linear function? For each that could be linear, find a linear equation models the data.