Question: Please help with code blocks, abd for the coding to be as simple as possible please Obiectives 1. To learn how to design and implement
Please help with code blocks, abd for the coding to be as simple as possible please









Obiectives 1. To learn how to design and implement functions for program development 2. To reinforce how to use pass by value and pass by reference variables 3. To learn how to use structures Movies about dragons and dragon training were very popular this summer. Your friend 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 series of programs about dragons. Problem: Dragon Games (dragonredrover.c) Now that your dragon is fully trained, he or she can participate in the games at the yearly festivals! One popular game is similar to the human game of Red Rover. Dragons begin in two teams. Two dragons- one from each team-will compete head to head. The losing dragon must join the winner's team. The game ends when an entire team is defeated. Since your dragon is the newest trained dragon, they must prove themselves by starting as a team of one. They will face off against a team of S other dragons. You will need to choose your opponents carefully to maximize your dragon's chances of winning the game! Before each match, present the user with the following menu: 1) View Home Team 2) View Away Team 3) Continue That way, you can view the stats of your dragons (the home team) and the stats of the "enemy dragons (the away team). When you are ready to continue you can choose which dragons from each team that will compete The matches should continue until one team contains all six dragons and the other team has zero dragons left to compete To make the testing of the program easier, your program will read in all of the dragon data from an input file. The name of this file should be specified by the user Input Specification The input file will contain six lines of data. The first line of the file will contain the single dragon that begins on the home team. The other five lines of data will contain the five dragons that begin on the away team Obiectives 1. To learn how to design and implement functions for program development 2. To reinforce how to use pass by value and pass by reference variables 3. To learn how to use structures Movies about dragons and dragon training were very popular this summer. Your friend 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 series of programs about dragons. Problem: Dragon Games (dragonredrover.c) Now that your dragon is fully trained, he or she can participate in the games at the yearly festivals! One popular game is similar to the human game of Red Rover. Dragons begin in two teams. Two dragons- one from each team-will compete head to head. The losing dragon must join the winner's team. The game ends when an entire team is defeated. Since your dragon is the newest trained dragon, they must prove themselves by starting as a team of one. They will face off against a team of S other dragons. You will need to choose your opponents carefully to maximize your dragon's chances of winning the game! Before each match, present the user with the following menu: 1) View Home Team 2) View Away Team 3) Continue That way, you can view the stats of your dragons (the home team) and the stats of the "enemy dragons (the away team). When you are ready to continue you can choose which dragons from each team that will compete The matches should continue until one team contains all six dragons and the other team has zero dragons left to compete To make the testing of the program easier, your program will read in all of the dragon data from an input file. The name of this file should be specified by the user Input Specification The input file will contain six lines of data. The first line of the file will contain the single dragon that begins on the home team. The other five lines of data will contain the five dragons that begin on the away team
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
