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

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  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.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic 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