Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started