Programming
3.6 Performance AssessmentWrite and Call Three Functions
In this assessment, you will write a flowchart and C code for a program. The program should use a function to display a message and prompt the user to enter their dog's age. A second function should be used to compute and display the dog's age in human years.
Instructions
Follow these instructions to complete your assignment:
1. Write a flowchart and C code for a program that does the following:
· Calls two functions. The first function should display a message and prompt the user to enter their dog's age. The second function will compute and display the dog's age in human years (dog age * 7). The second function should pass the dog's age from main() into the function definition to be computed.
· You should use the puts() function to display one message
· An "End of Program" message should be displayed inside of main() as the last statement
2. Submit one Word document which contains:
· Your flowchart in Flowgorithm
· A screenshot of your code
· A screenshot of your output including the Title Bar of the console window.
3. Submit the “.c” code file, which should include a comment line with your name and the date.
4. Submit the Flowgorithm (.fprg) file.
5. Upload your work using the instructions below.
Review the output below to check your work!
Here is what the program looks like: