Question: writing a complete C program that will prompt for the arithmetic operation (addition, subtraction, multiplication, or division) along with two integers between 1 and 100,
writing a complete C program that will prompt for the arithmetic operation (addition, subtraction, multiplication, or division) along with two integers between 1 and 100, inclusively, and then perform that operation on those integers to produce the result. The twist is that each arithmetic operation must be performed using bitwise operators rather than the traditional operations. (1) display the menu, (2) read in the users response for the menu selection, (3) prompt for and read in two integer operands between 1 and 100, inclusively, and then, based on the menu selection, (4) call the appropriate function call for the specified operation, passing the integer operands as parameters to the function. This functionality will be contained in a loop that will continue to iterate until the user selects the option to end the program. If the user enters a valid outside of 1 of 5 the 1 5 range, you will print a meaningful error message and re-display the menu. Additionally, you will continue to prompt for and read in each integer operand until the user enters an appropriate value (no error message is needed here).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
