Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ please Question 5: 110 points]: Write a program that reads in a character and store it in the character variable ch, and then displays

C++ please image text in transcribed
Question 5: 110 points]: Write a program that reads in a character and store it in the character variable ch, and then displays one of the following messages: 1. if ch is a lower case character, the message "ch is a lower case character" is displayed 2. if ch is an upper case character, the message "ch is an upper case character" is displayed. 3. fch is not a character, the message "This is not a charecter" is displayed. Hint: The ASCII code for characters are organized as follows: Character 'A' has ASCII code 65 Character B' has ASCII code 66 (ASCII ('A'+1) Character 'C' has ASCII code 67 (ASCII (A' +2) Character 'Z' has ASCII code 90 Character 'a' has ASCII code 97 Character 'b' has ASCII code 98 (ASCII (a' +1) Character 'c' has ASCII code 98 (ASCII ('a' +2) Character 'z' has ASCII code 122 in clude

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Refactoring Databases Evolutionary Database Design

Authors: Scott Ambler, Pramod Sadalage

1st Edition

0321774515, 978-0321774514

More Books

Students also viewed these Databases questions

Question

How many Tables Will Base HCMSs typically have? Why?

Answered: 1 week ago

Question

What is the process of normalization?

Answered: 1 week ago