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
1. 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
2. A function that gets a random number between 1 and 1,000 and then displays the programmers name with line numbers that many times. Have the function return the random number back to the calling function
3. A function that takes the random number from the 2nd function and displays the number of odd values from 1 to that number
HAVE your main function call the three functions from above
Example Output
How old are you? 15
Since you are 15, you are a teenager
I have generated the random number 3.
1. Dennis
2. Dennis
3. Dennis
Here are the odd numbers from 1 to 3.
1 is odd
3 is odd

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!