Write an algorithm, draw the flowchart, and write a C++ program to:
1. Read the options from the user.
2. Check the options, calculate, and print the result of the operation as given in the table using the Switch Case Statement as shown in Table Q5i.
Table Q5i:
Options Operation
1 Sum = a + b + b^2
2 Difference = a - b - a
3 Quotient = a / b / 9
4 Remainder = a % b % 2
Other Invalid Code
Algorithm:
1. Start
2. Read the options from the user.
3. Using a switch case statement, perform the corresponding operation based on the selected option.
4. Print the result of the operation.
5. End
Flowchart: (To be drawn)
Program: (To be written in C++)