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

  1 write a recursive instance method called

1 write a recursive instance method called countconnectedpipesint row int col. the method must not contain any loops

  Write a function which takes two string variables

Write a function which takes two string variables not C strings as inputs and compares them. If they are equal, the function should return 0. If the first-string is less than the second string, return a negative number. If the first string is grea..

  In this project you need to write a java program called

in this project you need to write a java program called mm.java to perform matrix multiplication. your code will read

  Implementing the add and remove methods

Prepare a class that maintains the top 10 scores for a game application, implementing the add and remove methods but using a doubly linked list instead of an array. Program has to be written in java

  How are the packaged files viewed

How are several Java files packaged, Why is there a need for packaging java files and How are the packaged files viewed?

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Create a java class called samearraysexception

Create a Java class called SameArraysException that extends the Exception class.

  Creates a file called "grades.txt" with 1000 lines

Write a program that creates a file called "grades.txt" with 1000 lines. Each line in the "grades.txt" file will consist of a student's first name, last name, graduating year(2013,2014,2015), and grade. the student's first name and last name for t..

  Develop class which implements interface

Let the ADT called SquareMatrix. (The matrix can be represented by 2-D array of ints w/ n rows and n columns.) Write specification for ADT as Java interface. Develop the class which implements interface.

  Explain how the loop displaying the menu

Explain how the loop displaying the menu is exited, what value does menuSel have when the program finishes? Describe what happens next when menuSel gets this value.

  Concept of java socket programming

Designed to asses learning outcomes and write programs that would communicate with another program running in the network

  Write java program which simulates flipping of coin

Write a Java program which simulates flipping of coin 1000 times and prints total number of heads and tails. You should create a class.

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