Reference no: EM131271522
Java program showing a Loop, Decision Structure, and an array for a company that sells school supplies to children and prints out a receipt in a console window for the user at the end.
Children purchase no more than 10 school supplies at a time (so this should be the size of any arrays you have if you need a number depending on how you set it up.)
Here is the Table of things the person operating the Java Program can choose from based on what the child chooses:
Item Number
|
Item Name
|
Price
|
1
|
Box of Crayons
|
4.25
|
2
|
Pencil
|
.15
|
3
|
Paper
|
.05
|
4
|
Eraser
|
.10
|
Requirements:
1. The program should ask the user for the item number for an amount of items. The user should not directly enter the price. (You will need to use Ifs or a Switch Case decision structure to find that out.)
2. The loop needs to control the entry of the item choices one by one (you can ask the user for a number of items to enter or use a sentinel variable. It is up to you. You must demonstrate a loop though.)
3. The program should store the Item Names and Prices in separate arrays (or one message with both in a string array if you want to do it that way), and it should print out all of the items at the very end of the program when the program is over.
4. Finally, print the total of all the items the user selected. There should be a total for the supplies that are being purchased at this store.
Select a social media site to investigate what site offers
: Social Media such as FaceBook, Google Apps and Second life is now used for e-commerce type of activities. Select a Social Media site to investigate what the site offers. You will have the opportunity to use this site with the marketplace in future..
|
Make an argument for or against corporate diversification
: What do you believe is the most significant demographic change facing the American workplace? What are the important dimensions of diversity that might matter at work or in your classroom? What is the primary form of powere we tend to use frequently?..
|
Who is liable for daves negligence for causing car accident
: Explain who is liable for Dave's negligence for causing the car accident, and explain who is liable for Dave's intentional tort for punching Victor. Provide your answers in a case analysis of a minimum of 500 words.
|
Arguments for prorating production-volume variance
: What are the arguments for prorating a production-volume variance that has been deemed to be material among work-in-process, finished goods, cost and cost of goods sold as opposed to writing it all off to cost of goods sold?
|
Person operating the java program
: Children purchase no more than 10 school supplies at a time (so this should be the size of any arrays you have if you need a number depending on how you set it up.) Here is the Table of things the person operating the Java Program can choose from ..
|
Create a nice abstract and an introductory paragraph
: Create a nice abstract and an introductory paragraph Introduction page for my Capstone Project. - Given the subject is "Diabetes Prevention Program in Older Adults".
|
There are many more adverse medical events than lawsuits
: Study after study indicates that there are many more adverse medical events than lawsuits. Additionally, Statistics compiled by Physician Insurers Association of America indicate that juries are reluctant to find a physician negligent. Seventy percen..
|
Discuss what marketing strategies are used in social media
: Social Media such as FaceBook, Google Apps and Second life is now used for e-commerce type of activities. Discuss what marketing strategies are used in Social Media E-Commerce
|
Overall framework for project integration management
: Describe the overall framework for Project Integration Management as it relates to the other project management knowledge areas and the project life cycle.
|