Lab 3

Lab Description:

      In this lab I had to use the code for lab two and essentially re-write the code and add functions. The re-write requires that the code now gives the user a menu to choose what operation they want to perform. The user enters one of the numbers that are shown in the menu then enters two values, the program calls the function, and the operation they chose is executed. They then have the option to continue doing operations with new inputs each time. If the user chooses option 7 the program exits. 

Code:

lab 3 code part 1 lab 3 code part 2

Screenshots:

lab 3 part 5 lab 3 part 8 lab 3 part 1 lab 3 part 7 lab 3 part 6 lab 3 part 2 lab 3 part 3 lab 3 part 4

Leave a Reply

Your email address will not be published. Required fields are marked *