Question: In this project you will need to code a program that will store and display the different cattle barn occupancy. Your program will allow the
In this project you will need to code a program that will store and display the different cattle barn occupancy. Your
program will allow the users to:
Empty information of a specific barn
Put onRemove cattle from a barn
Switch cattle between two barns
Show a list of all barns occupancy
Display a report based on the barns occupation
Your program has to manage two global variables: the array containing the cattle number in each barn as gBarns
and the integer gBarnNum that will be used to know how many barns are in the database. The number of barns may
change throughout the execution of the program as more barns can be included or excluded. Additionally, it will use
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
