Implement a simple program to tabulate the sticker price

Assignment Help JAVA Programming
Reference no: EM131914515

You will implement a simple program to tabulate the sticker price, net price, and discount rate of selected Massachusetts colleges listed in P.20 of the text. Discount rate is defined as

Your program should produce formatted output similar to the following table.

College

Sticker Price

Net Price

% Discount Rate

Amherst College

$40,862

$17,574

55*

Harvard University

$38,415

$18,277

55*

Hellenic College-Holy Cross

$19,503

$6,738

55*

Massachusetts Institute of

$39,212

$20,660

55*

Technology

 

 

 

Saint John's Seminary

$13,750

$2,650

55*

Wellesley College

$39,666

$18,400

55*

Williams College

$41,434

$16,493

55*

Average

$12,345*

$12,345*

55*

* These values must be replaced with your computed values.

Hint: For left alignment, use "2 flag. For example, %-10s specifier makes a string to be left-aligned; it takes at least 10 character spaces. Use Listing 2.1 as an example.

Implementation

Note that you must compute the discount rates and the average values in your program. Pay attention of naming convention and use appropriate data types. For output, use printf.

Reference no: EM131914515

Questions Cloud

What are the similarities and differences of those histories : The films The Battle of Algiers and the Apocalypse Now share similar themes of decolonization and its consequences.
Review case study of shareholder approach : Stakeholder theory and corporate social performance have gained great credibility with academics and many managers. Others, however, argue that profits.
What is the future value of a annuity payment over : What is the future value of a $580 annuity payment over six years if interest rates are 10 percent?
Calculate the contribution to profit from the special order : Miko Company manufactures a personal computer designed for use in schools and markets. Calculate the contribution to profit from the special order.
Implement a simple program to tabulate the sticker price : You will implement a simple program to tabulate the sticker price, net price, and discount rate of selected Massachusetts colleges listed in P.20 of the text
What is one problem with the educational system in the us : What is one solution that has been suggested or attempted? How effective do youthink this solution is?
Compute the future value in year : Compute the future value in year 8 of a $4,700 deposit in year 1 and another $4,200 deposit at the end of year 3 using an 10 percent interest rate.
Demonstrate higher-level communication skills : A self-assessment statement in relation to individual learning outcomes developed at the beginning of the unit.
Compute jill annual irr from owning net of renting : Compute Jill's annual IRR from owning net of renting. (hint: look at the buy vs rent slides, assume no mortgage.)

Reviews

Write a Review

JAVA Programming Questions & Answers

  Generate and manipulate music and images

Arrays are a fundamental and versatile tool for representing data of all shapes and sizes In this assignment, you'll see how arrays can be applied to generate and manipulate music and images.

  Use counting sort to sort an array

State the difficulty in attempting to use counting sort to sort an array of n floating-point numbers from the continuous interval [0,1].

  Image to a "black-to-green scale" image

Call a method that will change the image to a "black-to-green scale" image.

  Calculate the optimal position of the large pipeline

Your task is to calculate the optimal position (on the y-axis) of the large pipeline, so that the total length of all smaller pipelines is shortest

  Define javascript and servlet

The web site must be built using one of these techniques. JavaScript and servlet

  Create a console-based program and a gui application

Create a console-based program and a GUI application, which justifies the following conditions: The Main() method prompts the user for an integer value and, in turn.

  Calculate and display the mortgage payment amount

Change request7RequestorNinfa Pendleton - Rapid City, SDDescriptionWrite the program in Java (with a graphical user interface) and have it calculate and display the mortgage payment amount from user input of the amount of the mortgage

  Calculate the kilometers

Write a program called MilesToKilometers that converts miles to kilometers. Read the miles value from t he user as a double point value. Calculate the kilometers

  Java program that reads from standard input

Write a JAVA program that reads from the standard input stream (System.in) the order of cards in a deck and outputs who will win as well as the number of rounds played. It is assumed that there are two players, Player 0 and Player 1.

  Write a java complete program to access employee profile

SMB4103-Introduction to Programming - write a Java complete program to access employee profile and calculate the tax rate for each employee

  Changed to value-receiving and value-returning

The methods are to be changed to value-receiving, value-returning and a combination thereof. Therefore, when you call these methods make sure you send the correct arguments and properly process the value that is returned.

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