Question: Write a C program where :Expected Outcomes: Student will demonstrate the ability to write functionsvalue returning and void Student will demonstrate the ability to prototype
Write a C program where
:Expected Outcomes:
Student will demonstrate the ability to write functionsvalue returning and void
Student will demonstrate the ability to prototype functions
Student will demonstrate the ability to call functions
Program Specifications
Create the following functions
A function that ask for a person's age and then displays the word you are a teenager or you are not a teenager depending on the age entere
A function that gets a random number between and and then displays the programmers name with line numbers that many times. Have the function return the random number back to the calling function
A function that takes the random number from the nd function and displays the number of odd values from to that number
HAVE your main function call the three functions from above
Example Output
How old are you?
Since you are you are a teenager
I have generated the random number
Dennis
Dennis
Dennis
Here are the odd numbers from to
is odd
is odd
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
