subject

J. Crew is having a sale that allows the customer, if they buy 3 or more items, to receive the lowest priced item for free. The
management at J. Crew asks you to write a program that will
calculate the customer’s bill during this promotion.
Write a program that:
1. Prompts the clerk for the number of items the customer is
purchasing and collects each item’s price into an array.
2. Passes the array to a method that calculates the total price of
all of the amounts in the array.
3. Passes the array into a getLowest method to determine the
item with the lowest price.
4. Calls a getSales method that returns the total amount of the
customer’s sale, including the discount, if applicable. Of
course, this method SHOULD NOT subtract out the lowest
item’s amount if the customer did not purchase 3 or more
items.
5. Displays the number of items purchased, the price of each,
the discount amount (if applicable) and the customer’s total.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:30
If an improvement creates no significant change in a product’s performance, then it is a(n) ? a0 design improvement. (there are no answer choices)
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
Read this excerpt from helen keller’s autobiography, the story of my life. have you ever been at sea in a dense fog, when it seemed as if a tangible white darkness shut you in, and the great ship, tense and anxious, groped her way toward the shore with plummet and sounding-line, and you waited with beating heart for something to happen? i was like that ship before my education began, only i was without compass or sounding-line, and had no way of knowing how near the harbour was. "light! give me light! " was the wordless cry of my soul, and the light of love shone on me in that very hour. . the morning after my teacher came she led me into her room and gave me a doll. the little blind children at the perkins institution had sent it and laura bridgman had dressed it; but i did not know this until afterward. when i had played with it a little while, miss sullivan slowly spelled into my hand the word "d-o-l-l." i was at once interested in this finger play and tried to imitate it. when i finally succeeded in making the letters correctly i was flushed with childish pleasure and pride. running downstairs to my mother i held up my hand and made the letters for doll. i did not know that i was spelling a word or even that words existed; i was simply making my fingers go in monkey-like imitation. in the days that followed i learned to spell in this uncomprehending way a great many words, among them pin, hat, cup and a few verbs like sit, stand and walk. based on this excerpt, which words best describe helen keller?
Answers: 2
question
Computers and Technology, 24.06.2019 10:00
(, urgent need): how do i change my username
Answers: 1
question
Computers and Technology, 24.06.2019 10:40
Joe needs to see the slide transitions and animations he has applied to his slides in a large view. which presentation view should he use? in which tab would joe find the animations option to make further changes, if any?
Answers: 1
You know the right answer?
J. Crew is having a sale that allows the customer, if they buy 3 or more items, to receive the low...
Questions
question
Chemistry, 26.05.2020 02:03
question
Mathematics, 26.05.2020 02:03
question
Geography, 26.05.2020 02:03
Questions on the website: 13722363