Question: this is a C++ program Guidelines for Homework: Use the 15 page of this file as the cover page for your homework. Comment your Name

Guidelines for Homework: Use the 15 page of this file as the cover page for your homework. Comment your Name and ID at the beginning of the code. Use comments for documentation. Use flowcharts. Use screenshot. Use meaningful variable names using camelCase or PascalCase or snake_case naming convention. Use an online C++ platform. 2 snake_case Pros: Concise when it consists of a few words Cons: Redundant as wel weer d gets longer. pusia, ha 0 PascalCase Pros Seems neat IN Geroy sod. (e) caneluase Prosi Widely used in the programmer community Rode wei oo werded Objective: by the end of the experiment the student should be able to use if statement, Task: Write a simple program based on the use of (if statement) that is similar to a calculator. You need to ask the user to enter the operation: M or m for multiplication, D ord for division, A or a for addition, Sors for subtraction, L or 1 for modulus The user also should enter the two numbers that the operation will be done on. The job of the program is to calculate the result and to print it for the user. Invalid user input need to be considered. Example: If the user enters A with 3 and 4 for the numbers, the output should Ise: The result of adding 3 with 4 is 7 Example: If the user enters s with 3 and 4 for the numbers, the output should be: The result of subtracting 3 from 4 is -1 Solution:(flowchart + Program)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
