Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please help me to write the code in C++ language for the 2 questions below: Question 1: Write a complete program from the #include at

Please help me to write the code in C++ language for the 2 questions below:

Question 1:

Write a complete program from the #include at the top through return 0; } at the bottom.

Define three char variables char1, char2, and char3

(You may also wish to define a result variable).

Have the user enter three lowercase char characters.

(You may assume that the user correctly enters three lowercase characters.)

Compare these three characters and print only the character

that appears first in the alphabet.

Question 2:

List all the data types that are stored in integer format in order from smallest to largest.

(Most integral data types can be signed or unsigned; do not specify signed or unsigned in your answer.)

(Do not list wchar_t, because it does not have a fixed position in the order.)

The correct answer should contain all the other C++ data types listed

in the C++11 standard, which is the latest C++ standard.

* List the floating point types in order from smallest to largest

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

101 Database Exercises Text Workbook

Authors: McGraw-Hill

2nd Edition

0028007484, 978-0028007489

More Books

Students also viewed these Databases questions

Question

5. A review of the key behaviors is included.

Answered: 1 week ago

Question

3. An overview of the key behaviors is presented.

Answered: 1 week ago