/DancingCowQueue

CS: Data Structures --- Dancing Cow Queue: User inputs # of cows in the show, and # of cows on stage at a time. Algorithm returns total duration of the show (when all cows finish dancing).

Primary LanguageC++

DancingCowQueue

Computer Science: Data Structures

Dancing Cow Queue

User inputs 2 values for the # of cows in the show queue and the # of cows allowed on stage at a time, then inputs the dancing duration time for each cow in the queue. Algorithm returns the total duration of the show (when all cows have finished dancing).