Question: The language is C++ The previously declared variables are: char var4, int var5, and float var6 To display please use printf() instead of cout 2)

The language is C++

The previously declared variables are: char var4, int var5, and float var6

To display please use printf() instead of cout

 The language is C++ The previously declared variables are: char var4,

2) Console Input A. Copy and reuse the previously declared three variables created from part one B, and perform three input statements for each of those variables. Display them after the input is complete. B. Declare and initialize three variables var7 of the type char, var8 a string, and var9 a float. Input into the three variables in your program in the same order and use a get(), a getline(), and the extraction operator >>, respectively. Yes, it has to be in that order. C. Declare a string vario, and see if you can limit the input to 10 characters only. D. Declare two integer type variables (var11 and var12) and take their values using only one cin >>, that is do this input in the same statement. E. Declare a string variable var13, input "howdy there" using the extraction operator and print it. Next, add more statements for this task that creates another short int variable, var14, and try to input the value 77 into this variable and print. It should not work properly. You will need to do something (add more code) to make the program work again. Make the program work again. Add a comment to describe what you did

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!