Question: . Q18. Write a C++ program to . Read the Two numbers (N1,N2) and Choice(Ch) from the user Check the Choice and print the corresponding

. Q18. Write a C++ program to . Read the Two numbers (N1,N2) and Choice(Ch) from the user Check the Choice and print the corresponding Operation Result given in Table 18 using Switch Case statement (Assume 1-3.14) Table 18 Choice Operation A or a N1+N2 Borb N1-N2 Corc N1* N2 Dord N1/N2 Any other Invalid input choice Sample output: Enter N1 :20 Enter N2 :5 Enter Choice :D Result 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
