Math Practice Week 2
This week you will continue with the project by adding a menu. You will want to use a
"while" loop with a sentinel value and a switch...case statement to accomplish this. The
menu should appear as the example below, giving the user a choice of which math
function they want to use. You will also want to include an if..else statement to complete
the tasks for addition and print the messages as seen below for the other calculated
options. Your program should accept the user's input (1 for Addition, 2 for Subtraction, 3
for Multiplication, 4 for Division, and 5 for Exit).
You will add the following code for identification purposes:
#include <time.h> //remember the header file goes above main()
time_t current_time;
char* c_time_string;
/* Obtain current time. */
current_time = time(NULL);
c_time_string = ctime(¤t_time);
printf("Current time is %s", c_time_string)