Develop a program that meets the given requirements

Assignment Help Programming Languages
Reference no: EM131918607

Assignment

Your consulting firm has been hired to develop a program that meets the following requirements.

Your program must provide a menu to the user. This menu should list three different products of your choice. Once the user selects one product, they should specify which state they are located. The state choices should include CT, VT, WI, CA and WA. State taxes vary for each state (7.5%, 7.8%, 6.8%, 7.2% and 6.4%, respectively). The user should then specify the desired number of cases (assume there are 12 items per case). The appropriate state tax should be added to the total cost of the product (item quantity multiplied by unit price).

Display the following to the user.

• Name of the product selected
• Number of cases
• Number of items
• Subtotal (units x price per unit)
• State tax (with the percentage and state abbreviation in parentheses)
• Total cost (subtotal plus state tax)

a) Your program needs to include at least one repetition statement, one selection statement, Scanner class, and at least one array in this code.

b) Appropriate calculations are necessary.

c) Print out to the user the above bulleted items.

Your assignment submittal should include your Java source code, class files, program design document including class diagrams and pseudocode.

Reference no: EM131918607

Questions Cloud

Performance teams and learning organizations : Explain how information technology (IT) contributes to high performance teams and learning organizations.
Residual dividend model-what will its dividend payout ratio : LA Moving Company has the following data, dollars in thousands. If it follows the residual dividend model, what will its dividend payout ratio be?
International organization that produces some unique : Give two examples, one for a local organization, and another for an international organization that produces some unique product
Article review - a new tool for strategic decision making : Based upon the article what do we know about the topic of the article - How was the research conducted? What where the findings
Develop a program that meets the given requirements : Your consulting firm has been hired to develop a program that meets the following requirements. Appropriate calculations are necessary.
What is the dollar amount of costly trade credit : On average, what is the dollar amount of costly trade credit (total credit – free credit) the firm receives during the year?
Prepare a pro forma income statement for the home office : Prepare a pro forma income statement for the Home Office Systems group given annual sales of only $20 million
Health care delivery environment : 1. Describe the advantages of using virtual teams in a health care delivery environment.
Functional equipment used by government : His week's forum question deals with Drones which have had an exponential growth from amusements to functional equipment used by government

Reviews

Write a Review

Programming Languages Questions & Answers

  Describe the key elements for effective documentation

Describe at least six types of user and technical documentation that you are likely to come across in an ICT environment - describe the process that you would use to review current versions of technical and user documentation.

  Develop a class rectangle with attributes length and width

Create a class Rectangle with attributes length and width, each of which defaults to 1. Provide methods that calculate the rectangle's perimeter and area.

  In software engineering one can find out different life

in software engineering one can find various life cycle models. some examples include the waterfall model agile

  Write program which asks user for number of bolts

Write C++ program which asks user for number of bolts and number of nuts in their purchase and then computes and prints out total cost.

  Write a prolog relation subsequence

Write a Prolog relation remove(E,L,R) that is true if R is the list which results from removing one instance of E from list L. The relation is false if E isn't a member of L.

  Present the user with a menu with the given choices

CPSCI 121 - Object Oriented Programming: Present the user with a menu with the following choices: Output all values to the screen Add data values from a file Add a new data value from the keyboard.

  Implement an agent that plays the max-connect game

The task in this programming assignment is to implement an agent that plays the Max-Connect4 game using search. Figure 1 shows the first few moves of a game. The game is played on a 6x7 grid, with six rows and seven columns

  Write program to allow user to enter marks of students

Write a program that allows user to key in marks of students. The number of students is determined by the user at the start of the program.

  Write program which translate letter grade into number grade

Write program which translates a letter grade into number grade. Letter grades are A, B, C, D, F, possibly followed by + or -.

  Write a program to read student data from standard input

Write a program to read student data from standard input, sort it by last name / first name, and print result to standard output.

  Write function which takes string and returns vowels

Write a function which takes as a parameter an string and returns vowels (a, e, i, o, u). The function prototype should look like:

  Write program to initializes array with ten random integers

Write a program which initializes the array with ten random integers and then prints four lines of output, containing: - Every element at an even index.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd