Answered step by step
Verified Expert Solution
Link Copied!

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

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.


    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 include categories, such as stationary

    1. Remember to use a "for" loop for each array
    2. You should have Totals that calculates the totals of all textbook prices
      1. If you have 2 textbook categories, both should have their own price totals; and then also a total for all the books reserved
    3. Hints and Suggestions:
      1. You can set your own book prices – for example, see the prices in the example below
      2. You can set how many books for each section
        1. You can also write the program to ask the user for this input, but this is not required
  1. 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... 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

Algebra and Trigonometry

Authors: Ron Larson

10th edition

9781337514255, 1337271179, 133751425X, 978-1337271172

More Books

Students also viewed these Programming questions

Question

* What is the importance of soil testing in civil engineering?

Answered: 1 week ago

Question

Explain the concept of shear force and bending moment in beams.

Answered: 1 week ago