Question: Strings and Numbers A. Ask a user to enter a prefix a root and an ending. Concatenate them (obtain 1 string with the result,) and
Strings and Numbers
A. Ask a user to enter a prefix a root and an ending. Concatenate them (obtain 1 string with the result,) and print the result.
B. Show an example of an integer division. Show an example of a floating point division
C. Is the following example correct? Explain. int x = int(55);
Show an example of an appropriate use of the cast.
d. Ask a user to enter floating point numbers a and b. Compute 3a^2+/ sinb and print the result
E e. Ask a user for integers n1 and n2 and print a random integer r s.t. r[ n1 , n2 ).
c++
one program please not multiple
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
