Question: Instructions Follow these instructions to complete your assignment. Note there is no flowchart with this exercise. Write C code for a program that does the

Instructions
Follow these instructions to complete your assignment. Note there is no flowchart with this exercise.
Write C code for a program that does the following:
Create a character array that displays the message "My Friends' Ages Program" at the declaration.
Create a second array that will store 4 integer values.
Use assignment statements to store the following friends' ages:
ages[0]=25
ages[1]=27
ages[2]=24
ages[3]=26
Use a puts() statement to display the message in the first bullet.
Use a for() statement to display each age stored in the array element.
The end output statement should display the friends' ages.
Review the output below to check your work.
Paste a screenshot of your code and your output (including the Title Bar showing the path and name of your code) into a Word document (.docx).
Submit the following two files using the instructions below:
The Word document containing your two screenshots (code and output)
Your .c code file, which should include a comment line with your name and the date

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 Programming Questions!