Hi, I’ll upload all what you need.Thank you
lab_8___instructions.pdf

untitled_message__7_.zip

Unformatted Attachment Preview

ENGR112
1.
_____________ ___Lab Assignment 8
Copy the following file to your personal drive.
Instructions
 Lab8.c
NOTE: Use the lecture notes on functions and text book chapter 4 to complete this lab
2.
When you open the Lab8.c program, you will see that there are statements missing in the program.
Your assignment is to ONLY enter the required missing statements. DONOT Modify your
program other than what is required in the comments.
Make sure that the program runs as shown below:
For example: The monitor screen should display the following if the user enters any random
numbers:
Type a
Number
Type a
Number
Type a
Number
Type a
number (0
is odd.
number (0
is even.
number (0
is even.
number (0
to exit): 9
to exit): 6
to exit): 1030
to exit): 0
Make sure the program runs in a loop as long as the User enters even or odd numbers.
However, if the User enters 0 the program should exit.
What is required?


Correct results should be displayed on the screen when the program is executed
Show the results to the instructor
What to Hand in?
1. Upload the fixed program file with comments.
2. Name your solution source code file as LAB8Solution.c
3. Show your source code to your instructor prior to uploading it.

Purchase answer to see full
attachment