Question: This laboratory work covers the following concepts in C++ programming language: usage of the iostream and iomanip libraries for the console input and output structured

This laboratory work covers the following concepts in C++ programming language: usage of the iostream and iomanip libraries for the console input and output structured programming skills (sequential, selective, and repetitive statements) - Create a Win32 Console application and an empty C++ source file in Visual Studio IDE to be able to start typing programs. Task-2: Write a menu-driven CH program that performs the following according to user's choice: 1. Add 2. Subtract 3. Multiply 4. Quit The program should ask the user to choose an option between one and four, and then perform the desired calculation. For instance, if user specifies one, then the program requests from the user two values, calculates the summation of them, and finally displays the result obtained to the console screen. Hint: Use switch-case statements for the menu! Task-3: Rewrite the program written for Task-2 in which the user can enter symbols and for quitting
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
