Write a program to display the customer''s name

Assignment Help JAVA Programming
Reference no: EM13753708

• 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: EM13753708

Questions Cloud

Employee wage data application : A small company is moving all its employee data to a computer. To make a smooth transition, a software program will permit the data entry personnel to enter data into a file. Design a program that writes the employees.dat file
Identify the psychological and social factors : Identify the psychological and social factors, such as motives, perception, attitudes, personality, family, social class, and reference groups, that influence consumer behavior toward your product or service.
Analysis of tfc financial statements : Determine two (2) strategies that TFC could utilize to reach its expansion goals. You may, for example, consider your analysis of TFC's financial statements, as well as your knowledge of TFC's excessive cash position. Provide a rationale for your ..
Essay on queen victoria was most influential british monarch : Create an eight to twelve page essay arguing that Queen Victoria was the most influential British Monarch. Summarize her life both politically and personally.
Write a program to display the customer''s name : 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
Benefits to clinkle of obtaining iso certification : What would be the main benefits to Clinkle of obtaining ISO certification and What would be the main disadvantages to Clinkle of obtaining ISO certification
What are the potential problems with market allocation : What are the potential problems with market allocation for noise pollution in class? Are there any better solutions to this problem? Explain.
What can be done to reduce the risk that these threats pose : What can be done to reduce the risk that these threats pose. Discuss your thoughts on if and how the Clark-Wilson security model could be used to help protect data, or would a different security model be more appropriate? If so, which one
Positive and negative aspects of zuckerbergs : Consider both the positive and negative aspects of Zuckerberg's leadership style. What is good, and what is detrimental to Facebook

Reviews

Write a Review

JAVA Programming Questions & Answers

  Write a method compact that removes all zeroes

Write a program that reads a text file (compact.txt) and stores the integers in an array.  Your instructor will provide this text file.

  Write a class that implements an ordered list of strings

In this problem you will write a class that implements an ordered list of Strings.

  Design an adt for a two-color

Design an ADT for a two-color, double-stack ADT that consists of two stacks one "red" and one "blue" and has as its operations color-coded versions of the regular stack ADT operations.

  Write a program to solve rsa

Write a program to solve RSA, Use either Java or "VERY DETAILED" pseudocode. Take input for p, q, e, the number to encrypt and the number to decrypt.

  Java application that reads a date in numeric form

Designand write a java application that reads a date in numeric form from a set of three fields and displays it in English within a label. Use appropriate buttons. For Example:

  Create floating point arrays

Create floating point arrays each with three elements - Ask the user to give input for the two arrays.

  What is an example of a javascript framework in the

what is an example of a javascript framework? in the framework you have described what is an example of an application

  Write a method to get list of all the books

Make a map for a book with Book ISBN as key and book title as value - Write a method to get list of all the books in JSON format using restul client.

  Write down a java program and pseudocode to read a number

write a java program and pseudocode to read a number up to 15 digits long or a date ddmmyyyy. the program should

  Method to calculate all primes in the range [2..n]

One commonly used method to calculate all primes in the range [2..n] is to start with the number 2, mark it as prime, and mark all its multiples (excluding itself) as not prime. Then, we find the next smallest unmarked number, mark it as prime, and m..

  Objectives1 to practice defining classes using separate

objectives1. to practice defining classes using separate compilation.2. to practice using classes vectors and

  Create a class called employee with name idno address and

create a class called employee with name idno address and phone number as attributes. create the setter and getter

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