Question
The goal of this assignment is to build a class for counting people entering and leaving various buildings on campus. In this testing program we
The goal of this assignment is to build a class for counting people entering and leaving
various
buildings
on campus.
In this testing program we are only concerned with the Instructional Building (IB) but we will
want to track all our buildings in the future.
1.
The class should track and report:
The number of people counted as entering (one at a time or in groups)
The numb
er of people counted as leaving (one at a time or in groups)
The number of people expected
(as counted by ins and outs)
to be in the building.
2.
We should be able to reset the counters all back to zero
3.
Because people might sneak in or out, we want to be able
to set the
number of people in the
building (maybe gathered by walking around?)
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