The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 2 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
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
-----------