ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 2 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 05 May 2017 My Price 8.00

PA Computer average -Write a complete Java program

Let me know how a timetable for this looks

1. PA Computer average -Write a complete Java program called ComputeAverage that prompts the user for three numbers (use double values for these), computes the average of those three doubles (use a double for the average), and then prints out explanatory text, the three numbers, and their average, printed with 2 decimal places. (See Horstmann, Section 2.3.2, pp. 50-52 for some ideas.)

For example, if the user gives your program the numbers 30, 100, and 21, your output should look very much like the following: The average of the numbers 30.00, 100.00, and 21.00 is 50.33.

 

2.PA Stringlength-Write a complete Java program called StringLength that requests a String from the user at the command line and finds its length.Your program should output: "Your string has a length of X characters." where X is the String's length.

 

 

3.PA dist calc Write a complete Java program called DistanceCalc that requests two values from the user at the command line:

amount of present fuel in gallons for the vehicle's fuel tank

the vehicle fuel efficiency (miles per gallon)

Compute how far, in miles, the vehicle can travel on the available fuel. Your program should output: "You are able to travel X miles on remaining fuel." where X is the miles distance you calculated.

 

4.PA Hello Mars-Write a complete Java program called HelloMarsApp. Your program should print the phrase "Greetings Martians!" to the command line.

Use a combination of two (2) print() and one (1) println() statements to output each of the words and the exclamation point.

 

5.PA Mogul- Write a complete Java program called Mogul that will compute the profitability of a real estate investment over a 1-year period.

Request the following values from the user at the command line:

cost of the property,

the inflation rate

property appreciation rate

Your program should output: "Your investment's net profit is $X." where $X is the net profit.

Net profit for one year is calculated as: Net profit = (Value of property * Rate of appreciation) - (Value of property * Rate of inflation).

 

 

6.PA Phone number conversation-Write a complete Java program called PhoneNumberConversion based on the Horstmann textbook chapter 2 programming exercise, Business, p 2.23.

Request the ten-digit phone number from the user at the command line

Answers

(11)
Status NEW Posted 05 May 2017 12:05 AM My Price 8.00

-----------

Attachments

file 1493943186-Solutions file 2.docx preview (51 words )
H-----------ell-----------o S-----------ir/-----------Mad-----------am ----------- Th-----------ank----------- yo-----------u f-----------or -----------you-----------r i-----------nte-----------res-----------t a-----------nd -----------buy-----------ing----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n. -----------Ple-----------ase----------- pi-----------ng -----------me -----------on -----------cha-----------t I----------- am----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill----------- be----------- qu-----------ick-----------ly -----------onl-----------ine----------- an-----------d g-----------ive----------- yo-----------u e-----------xac-----------t f-----------ile----------- an-----------d t-----------he -----------sam-----------e f-----------ile----------- is----------- al-----------so -----------sen-----------t t-----------o y-----------our----------- em-----------ail----------- th-----------at -----------is -----------reg-----------ist-----------ere-----------d o-----------n -----------THI-----------S W-----------EBS-----------ITE-----------. ----------- Th-----------ank----------- yo-----------u -----------
Not Rated(0)