Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You have just started your new on-campus job at the front desk of the Swinney recreation center. Your job is to help students check-out and

You have just started your new on-campus job at the front desk of the Swinney recreation center. Your job is to help students check-out and check-in gym items (towels, basket balls, rackets, bikes, etc). Traditionally, students who work this job record all items that students check out and in manually in two text files (checked out and checked in). At the end of the day, they update a third file (students.txt) that includes information about students and what items are currently checked out (if any). However, you believe that this process is tedious, time consuming and error prone. Therefore, you are thinking to automate this process by writing a C++ program that does all the work for you; because you are a great programmer who took 201L, and you can do it! See the following figure to better understand your program input and output.

image text in transcribed

image text in transcribed

image text in transcribed

image text in transcribed

T-Mobile 4:51 PM Program 4.pdf 1 of 4 Due: March 18th In onder to eeceive full credit, your program must be coerectly running, implements all required functions data and organized Maximum possible points 60 Assigament karning objectives: You ane sepposed to comoctly define and write ncat code that uses classes, functions, dymasic armays, constructors, destractors and overloaded eperators The assignment problem You have just started your new on-campas job at the front desk of the Swinncy recreation center. Your job is to help students check-out and chock-in gym items (towels, basket balls, rackets, bikes, cic). Traditionally, students who woek this job record all ilems that students check out and in manwally in two test files (checked out and chocked in). At the end of the day, they update a third file (students.tst) that includes information about stadents and wat ilems are curreatly chcckod out (if amy). However, you believe that this process is sedious, time consuming and emoe prone. Therefore, you are thinking to auomale this process by writing a C+ program that does all the work for you because you are a great programmer who took 201L, and you can do it! See the following fgure to better understand your perogram input and output Updated lo Your app Figurel.Ovarview of the assignment's input and output data files Hint: you know that not all stadents hit the gym froquently and, therefore, you realize that not all stadents check gym Rems all the time. At the same time, some students check several ie smultancously (e.g. towel locke and a basketball). This means that you are not sure on how much memory to allocate for this data Thus, you wil wnite a Shudlent class that has a dynamic ray to hoild the items that each Student has checked-out UMKC Due: March 18th Your application will have a Snudent class with the fellewing private data members string for first and last name SOpen With Print

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Horse Betting The Road To Absolute Horse Racing 2

Authors: NAKAGAWA,YUKIO

1st Edition

B0CFZN219G, 979-8856410593

More Books

Students also viewed these Databases questions

Question

Design a training session to maximize learning. page 309

Answered: 1 week ago