Answered step by step
Verified Expert Solution
Question
1 Approved Answer
You work at the ECPI Bookstore, and you are asked by your supervisor to write a program for students to reserve their textbooks. Your supervisor
You work at the ECPI Bookstore, and you are asked by your supervisor to write a program for students to reserve their textbooks. Your supervisor needs help with the following:
- Tracking the number of books reserved per student and the cost of those books
- You can break the books into departments
- For example:
- CIS Books
- Math Books
- ** You can change the departments
- Be sure to have at least 2 departments, but you can add more
- Once you have included the departments, and the book prices:
- Calculate the total cost of books per department
- And then the total cost of the books
- Most students at ECPI do qualify for financial aid
- Be sure to calculate what percent of financial will cover the cost of books
- And then create a New Total, for what the student owes out of pocket
- For example:
Instructions
Write a program and flowchart and include a snippet of your program running.
The program you write should include these components at a minimum. Remember though: Get creative and feel free to add different components that you feel are applicable in a grading program.
- You must have at least two different arrays - These are, in effect, parallel arrays:
- One for each dept of books
- For example: CIS Books; and Math Books
- ** Please note: The example image shown below includes 2 arrays
- The arrays are for CIS Books and Math Books; and the price for each book
- ** You can also add extra categories
- Such as English Books
- Or, you can include categories, such as stationary
- One for each dept of books
- You must have at least two different arrays - These are, in effect, parallel arrays:
- Remember to use a "for" loop for each array
- You should have Totals that calculates the totals of all textbook prices
- If you have 2 textbook categories, both should have their own price totals; and then also a total for all the books reserved
- Hints and Suggestions:
- You can set your own book prices – for example, see the prices in the example below
- You can set how many books for each section
- You can also write the program to ask the user for this input, but this is not required
- At the end, it prints out the totals for each section; the % paid by financial aid; and the new total the student must pay out of pocket
You work at the ECPI Bookstore, and you are asked by your supervisor to write a program for students to reserve their textbooks. Your supervisor needs help with the following: Tracking the number of books reserved per student and the cost of those books You can break the books into departments o For example: CIS Books Math Books * You can change the departments Be sure to have at least 2 departments, but you can add more Once you have included the departments, and the book prices: - Calculate the total cost of books per department - And then the total cost of the books Most students at ECPI do qualify for financial aid Be sure to calculate what percent of financlal will cover the cost of books * And then create a New Total, for what the student owes out of pocket Instructions Write a program and flowchart and include a snippet of your program running. The program you write should include these components at aminimum. Remember though: Get creative and feel free to add different components that you feel are applicable in a grading program. 1. You must have at least two different arrays- These are. in effect, parallel arrays: 1. One for each dept of books 1. For example: CIS Books; and Math Books 2.* Please note: The example image shown below includes 2 arrays 1. The arrays are for CIS Books and Math Books: and the price for each book 3." You can also add extra categories 1. Such as English Books 2. Or. you can lnclude categories, such as stationary 2. Remember to use afor loop for each array 3. You should have Totals that calculates the totals of all teatbook orlces 1f you have 2 textbook categories, both should have thelr own price totals: and then sso a total for all the hooks reserved
Step by Step Solution
★★★★★
3.38 Rating (151 Votes )
There are 3 Steps involved in it
Step: 1
plan implement the program in Java flowchart ECPIBookstorejava The program allows the user to reserv...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