925 week 3 lecture: x Guided Practice x | ECPI University X6 Diagrams to × ECPI University X Man-OL-Griff X tructure.com/courses/129519/assignments/4063047 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. Review the output below to check your work. 3. Paste the following three items into a Word document (.docx): a. Your flowchart in Flowgorithm b. A screenshot of your code c. A screenshot of your output (including the Title Bar showing the path and name of your code) into a Word document (.docx) 4. Submit the following three files using the instructions below: a. The Word document containing your three screenshots (flowchart, code, and output) b. Your ".c" code file, which should include a comment line with your name and the date c. Your Flowgorithm (.fprg) file Output Here is what the program looks like: C:\Users\dcami\OneDrive\Desktop\U3PAUserDefined Functions.exe Welcome to the Computing Dog Age Program X A Q Search ST a C DEV W

icon
Related questions
Question
925
week 3 lecture: x Guided Practice x |
ECPI University X6 Diagrams to
×
ECPI University X
Man-OL-Griff X
tructure.com/courses/129519/assignments/4063047
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. Review the output below to check your work.
3. Paste the following three items into a Word document (.docx):
a. Your flowchart in Flowgorithm
b. A screenshot of your code
c. A screenshot of your output (including the Title Bar showing the path and name of your code)
into a Word document (.docx)
4. Submit the following three files using the instructions below:
a. The Word document containing your three screenshots (flowchart, code, and output)
b. Your ".c" code file, which should include a comment line with your name and the date
c. Your Flowgorithm (.fprg) file
Output
Here is what the program looks like:
C:\Users\dcami\OneDrive\Desktop\U3PAUserDefined Functions.exe
Welcome to the Computing Dog Age Program
X
A
Q Search
ST
a
C
DEV
W
Transcribed Image Text:925 week 3 lecture: x Guided Practice x | ECPI University X6 Diagrams to × ECPI University X Man-OL-Griff X tructure.com/courses/129519/assignments/4063047 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. Review the output below to check your work. 3. Paste the following three items into a Word document (.docx): a. Your flowchart in Flowgorithm b. A screenshot of your code c. A screenshot of your output (including the Title Bar showing the path and name of your code) into a Word document (.docx) 4. Submit the following three files using the instructions below: a. The Word document containing your three screenshots (flowchart, code, and output) b. Your ".c" code file, which should include a comment line with your name and the date c. Your Flowgorithm (.fprg) file Output Here is what the program looks like: C:\Users\dcami\OneDrive\Desktop\U3PAUserDefined Functions.exe Welcome to the Computing Dog Age Program X A Q Search ST a C DEV W
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer