Write some software

I need you to develop some software for me. I would like this software to be developed using Java. Using the Design Recipe, write an algorithm for each of the following programming problems:

The straight-line method for computing the yearly depreciation in value D for an item is given by the following formula:

D= P-S/Y

where P is the purchase price, S is the salvage value, and Y is the number of years the item is used. Write a program that takes as input the purchase price of an item, the expected number of years of service, and the expected salvage value. The program should then output the yearly depreciation for the item.

A government research lab has concluded that an artificial sweetener commonly used in diet soda pop causes death in laboratory mice. A friend of yours is desperate to lose weight but cannot give up soda pop. Your friend wants to know how much diet soda pop it is possible to drink without dying as a result. Write a program to supply the answer. The input to the program is the amount of artificial sweetener needed to kill a mouse, the weight of the mouse, and the desired weight of the dieter. Assume that diet soda contains 1/10th of 1% artificial sweetener. Use a named constant for this fraction.

Write a program that inputs the name, quantity, and price of three items. Output a bill with a tax rate of 6.25%.

Write a program that helps a person decide whether to buy a hybrid car. Your program’s inputs should be:

The cost of a new car

The estimated miles driven per year

The estimated gas price

The efficiency in miles per gallon

The estimated resale value after 5 years

Compute the total cost of owning the car for five years. (For simplicity, we will not take the cost of financing into account.) Obtain realistic prices for a new and used hybrid and a comparable car from the Web, and use today’s gas price and 15,000 miles driven per year.

Write a program that reads two times in military format (e.g., 0900, 1730) and prints the number of hours and minutes between the two times. Note that the first time can come before or after the second time.

An online bank wants you to create a program that shows prospective customers how their deposits will grow. Your program should read the initial balance and the annual interest rate. Interest is compounded monthly. Print out the balances after the first three months.

A video club wants to reward its best members with a discount based on the member’s number of movie rentals and the number of new members referred by the member. The discount is in percent and is equal to the sum of the rentals and the referrals, but it cannot exceed 75 percent.

Kompetens: Java, Programvaruarkitektur

Visa mer: computer software definition, what is system software, software definition, types of software, 5 example of software, what is computer software, examples of software, software definition and examples, write software reviews, looking someone write software, write software brochure, write software requirement specification, getafreelancercom write software programs reviews, write software mobile, msr206 write software demo

Om arbetsgivaren:
( 0 omdömen ) United States

Projekt-id: #16157924


$30 USD inom 0 dagar
(7 omdömen)

5 frilansare har i genomsnitt lagt bud på $39 för detta jobb


HI..i am good at core Java programming and can help you write all the programs. please contact me as soon as possible for a discussion.

$80 USD inom 2 dagar
(78 omdömen)
$25 USD inom 1 dag
(21 omdömen)

A proposal has not yet been provided

$30 USD inom 5 dagar
(0 omdömen)
$30 USD inom 1 dag
(0 omdömen)