Завершен

Easy java programs

1. [url removed, login to view] compiles

Code modified so the application ends only when the user enters “n” or “N” by using a not operator (!) with the equalsIgnoreCase method.

Code modified so it provides a discount of 25 percent when the subtotal is greater

than or equal to $500.

Program displays the number of invoices, the average invoice amount, and the average discount amount when the user ends the program

Insure that running ModifiedInvoiceApp produces proper results.

2. [url removed, login to view] compiles

Uses += on scoreCount and scoreTotal fields.

Uses Math class methods to track minimum and maximum scores.

Displays minimum and maximum scores at end.

Changed scoreTotal to int.

CastscoreCount andscoreTotal todouble before calculating average as double.

Used NumberFormat to round displayed average to one decimal place.

3. [url removed, login to view] compiles.

Type “R” with subtotal >= $250 and < $500 get 25% discount.

Type “R” with subtotal > $500 get 30% discount.

Type “C” always get 20% discount.

Added new Type “T” with subtotal < $500 get 40% discount.

Added new Type “T” with subtotal >= $500 get 50% discount.

Types other than “C”, “R” or “T” get no discount.

Introduce static method getDiscountPercentwith customer type and subtotal parameters.

Move discount calculations to static method.

Invoke static method to calculate discounts.

4. [url removed, login to view] compiles.

Application accepts only r and c customer type codes.

Display error message on invalid code and request re-entry.

static getValidCustomerType method performs validation.

getValidCustomerType has Scanner parameter.

getValidCustomerType returns valid customer code.

try-catch block for subtotal entry with error message and continue statement in main.

static getValidSubtotal method performs validation.

getValidSubtotal has Scanner parameter.

getValidSubtotal returns valid subtotal.

getValidSubtotal limits valid subtotal to range > 0 and <= 10000.

getValidSubtotal prevents exception in main.

Discard multiple entries when asked to continue.

5. ch6

how screenshot of error in step 1.

Show screenshot of the IDE windows in step 5.

Show screenshot of the IDE windows in step 6.

Show screenshot of the IDE windows in step 7.

Show screenshot of the IDE windows in step 10.

Навыки: Java

Показать больше: new in java 1.5, minimum multiple in math, code programs, r in operator, ide number, Easy Java, easy java a, java calculate, double entry code, double scores double, java scores program, methods java program, windows application invoice, java ide, scanner class, screenshot java, range scanner, java calculations, invoice windows application, java codes

О работодателе:
( 15 отзыв(-а, -ов) ) tampa bay, United States

ID проекта: #7439643

Поручен:

it2051229

A proposal has not yet been provided

$30 USD за 1 день
(553 отзывов(-а))
7.0

2 фрилансеров(-а) готовы выполнить эту работу в среднем за $30

ithuang2014

hello. I saw your description and attached files. I understand it and can do it . I have done several project like this. I'm an expert in Data Mining, Data Structures and Algorithms. And I know Java ,C/C++ and Pyt Больше

$50 USD за 1 день
(8 отзывов(-а))
2.8
aoden

A proposal has not yet been provided

$30 USD за 2 дней(-я)
(7 отзывов(-а))
2.7