Lab 3

Description:

Lab 3 is similar to Lab 2. In lab 3 we are to use function in our program and run it. We have to create a menu where the user can choose a math operation. Using x and y, we have to execute addition, subtraction, multiplication, division, remainder and compare the number. At the end, number 7, I believe, is an exit out of the coding.

Code:

Screen Shot 2013-11-06 at 11.58.46 PM

Screen Shots:

Screen Shot 2013-11-06 at 11.35.09 PM

Screen Shot 2013-11-06 at 11.35.27 PM

Screen Shot 2013-11-06 at 11.35.55 PM

Screen Shot 2013-11-06 at 11.36.13 PM

Screen Shot 2013-11-06 at 11.39.49 PM

Screen Shot 2013-11-06 at 11.40.02 PM

 

Leave a Reply

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