Write a program that prompts the salesperson

Assignment Help Programming Languages
Reference no: EM131320883

Assignemnt

•A non-GUI based Java application that fulfills the requirements listed below. All output should be to the console/standard output.

•Salespersons for Big State Books receive a commission of ten percent for each sale. In addition, the salesperson earns a 99 dollar bonus for each sales.

•Write a program that prompts the salesperson for the name of the customer and the price of the textbooks sold to that customer.

•The program should display the customer's name and the total compensation (commission plus bonus) for the sale.

•All input should be from the keyboard using the Scanner class.

•There should be proper documentation in the source code. The documentation should include a block containing the name of the program and the name of the student, and a short description of the program. There should be comments for each line of code.

•The .java source code files with the correct file names for all classes used. The program must consist of at least one public class.

•Programs are expected to compile and run/execute correctly.

Reference no: EM131320883

Questions Cloud

Differences between hobbes and machiavellis view of human : Discuss the similarities and differences between Hobbes' and Machiavelli's view of human nature. Take into account the historical/political environment of both authors at the time of their writing
Find the critical value of t in a table of critical values : What two pieces of information must be known in order to find the critical value of t in a table of critical values?
Would you advise a friend to invest in this company : Prepare a well-written titled "Would You Advise a Friend to Invest in This Company?" based upon your research and analysis of this company's financial information. Identify 3-5 significant points that justify
Introduce new portable camper to fill out its product line : Winnebagel Corp. currently sells 29,700 motor homes per year at $81,500 each and 8,700 luxury motor coaches per year at $123,500 each. The company wants to introduce a new portable camper to fill out its product line; it hopes to sell 24,700 of these..
Write a program that prompts the salesperson : Write a program that prompts the salesperson for the name of the customer and the price of the textbooks sold to that customer.
Suppose electricom marketing manager : Suppose Electricom's marketing manager learned that actual sales of his firm's electric widgets to NAICS industry #335312 amounted to about 20 percent of its national market potential for that industry
Is definition of conductivity limited to thermal equilibrium : Describe the conditions at which the conductivity is an equilibrium parameter and hence a fundamental property of a solid.
What is the biblical basis for your philosophy : How can you use, teach, and equip others to participate in multicultural ministry? Use at least 2 relevant academic references to support your ideas. What is the biblical basis for your philosophy
Topic-indo-chinese restaurant : (a) SWOT Analysis - Identifies strengths, weaknesses, opportunities, and threats to provide a solid foundation, which is the springboard to identify subsequent actions the marketing plan.

Reviews

Write a Review

Programming Languages Questions & Answers

  Develop procedure to returns recent order information

Develop a procedure that returns the most recent order information for aparticular basket. This procedure must determine most recent stage entry from the BB_BASKETSTATUS table

  Create a credit approval application for retail store

You have been asked to create a credit approval application for retail store. To get approved for credit card customer must meet the following criteria: Should be 18 years of age or older

  Write program prompts to enter three sides of triangle

Write a program which prompts the user to enter three sides of a triangle and your program will display the three sides and its category of either equilateral, isosceles or all unequal.

  Write a program to create three identical list

Write a program to create three identical list, list1, list2, and list3, of 5000 elements. The program then sorts list1using quick sort, list 2 using insertion sort.

  Calculate resistance value

Develop a PROLOG program that prompts the user for the colors of Band 1, Band 2, Band 3, and Band 4 and then displays the resistance in Kilo-ohms.

  Define function that takes year as it-s input argument

Define and call a function fast_food_billions that takes the year as it's input argument and returns the prediction as it's result. Tell the user that entry of a year before 2005 will cause the program to stop.

  Explain the use of master pages and themes

Explain the use of Master pages and themes, create a master page with a theme of your own, the master will contain a simple welcome page and the calculator page you created from the prior week.

  Develop a class which is called decimalclass

Develop a class which is called DecimalClass. This class has two data members. The first one is an integerPart and the second is a decimalPart. For example if num1 is an object of Decimal Class and its integerPart is 100 and decimalPart is 33, the..

  Put the commands into a file

get the accounts from /etc/passwd where the person's name starts with A-G. (Look at the full names and just the first letter of the first name in the field.)

  Design an oracle that runs efficiently but may make mistakes

The clique problem itself is NP-hard. Thus you may not want to have an oracle that runs in exponential time. Think about approach to approximate the solution. In another word, design an oracle that runs efficiently but may make mistakes in some ca..

  Explain joint application development

Explain JAD (Joint Application Development) and RAD (Rapid Application Development) in detail

  Write program to read line of text which ends with sentinel

Write program which will read line of text which ends with a period, that serves as sentinel value. Display all the letters which occur in text, one per line and in alphabetical order,

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