Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The programming language is C. Skeleton code: Sample output: Obiectives 1. To learn how to write functions given specifications 2. To learn how to the
The programming language is C.
Obiectives 1. To learn how to write functions given specifications 2. To learn how to the use pass by value and pass by reference variables 3. Review previous concepts like if-statements and loops. Movies about dragons and dragon training were very popular this summer. Your fiend has not stopped talking about how awesome dragons are and how cool it would be to train them. To amuse your friend you have decided to create a dragon-training simulator using your C programming skills. The basic idea behind the simulation is as follows: 1) You will simulate 10 days of dragon training 2) In the beginning the user gets a new dragon with some initial statistics for strength, intellect, and agility 3) At the beginning of each day the user receive a weather report. 4) Based on that, the user can determine which tasks their dragon should complete that day 5) Then, the day's activity is simulated After 10 days the simulation ends and the user is told whether or not they have completed training Training may be completed earlier than 10 days if the obstacle course is completed A skeleton of the solution for this assignment is posted on the webcourse. You must fill in the seven functions that are currently empty. After you write each function, you should test it before moving on. The main function should not be modified for the final submission (you may modify it during testing, as long as you return it to its initial form) Descriptions of each function are given in the skeleton along with the function Pre- and Post-conditions. The output samples at the end of this document show the wording you should use and how the program should run when completed. Points are allotted for following the precise wording shown Skeleton code:
Sample output:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started