Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

The novel, Twenty Thousand Leagues under the Sea was written by the Frenchman Jules Verne in 1870. It's the story of a submarine, the Nautilus, which traveled 20000 leagues. One league is 3.45 miles. So the voyage was almost 70000 miles. The distance around the world is 25000 miles. So, in 20000 leagues, the sub could travel around the voyage world almost 3 times.

Write a non-GUI Java program that prompts the user for a number of leagues traveled. Then the program should convert the leagues to miles and determine how many times the user could go around the world with the given number of leagues. For example, if the user inputs 100000 leagues, the program will output that 100000 leagues is 345000 miles and that the user could go around the world 13.8 times with number of leagues entered.

The Java application should meet these technical requirements:

There should be proper documentation in the source code. The documentation should include a block containing the name of the program and the name of the student, and a short description of the program. There should be comments for each line of code.

The student must submit the .java source code files with the correct file names for all classes used. The program must consist of at least one public class.

Programs are expected to compile and run/execute correctly.

The application should have at least one class, in addition to the application's controlling class (a controlling class is where the main function resides).

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M91703964
  • Price:- $40

Priced at Now at $40, Verified Solution

Have any Question?


Related Questions in Computer Engineering

When we look at the ease to enter the different market

When we look at the ease to enter the different market structure, there is no doubt that 'monopoly' is the hardest. Why? -- There is only ONE firm that has established 'economies of scale' with the production of their go ...

How do you find the minimum sample size when population

How do you find the minimum sample size when population standard deviation is anywhere between 14 to 24, and the half-width B desired could be anywhere between 2 to 7?

Below is a simple data gird with a header

Below is a simple data gird with a header row. kim|taylor|clara|654 763 1345|75|2016-01-17|null|N|90.76|A jack|jenkins|joseph|630 654 0265|92|2016-11-30|null|Y|131.00|B Identify what rules would you apply for ensuring th ...

Suppose a countrys real gdp is 18 trillion andnbspthat

Suppose a country's real GDP is $18 trillion and that population is 300 million. Instructions:  Enter your answers as whole numbers. a. What is this country's real GDP per capita? $  Suppose that during the next 10 years ...

Question the states of california arizona new mexico utah

Question : The States of California, Arizona, New Mexico, Utah, and Nevada each send a team of 6 delegates to the Sounth Western States annual conference. A sub commitee of 9 is to be formed to discuss water rights. How ...

Nbspa senior collected data concerning the amount of time

A senior collected data concerning the amount of time students had to wait when adding or dropping courses at the beginning of the semester. The student then built a model of the behavior and experimented different strat ...

What is the sum after execution assume that min and max are

What is the SUM after execution? Assume that MIN and MAX are integers provided provided by the user, and that MAX is greater than MIN. (Solve without choosing actual values) INPUT MIN, MAX SUM= 0 DOFOR M= MIN, MAX SUM= S ...

What are the differences between four types of economics

What are the differences between four types of economics evaluations and their differences with other two (budget impact analysis (BIA) and cost of illness (COI) studies)?

Systems analysis projectpersonal trainer inc owns and

Systems analysis project Personal Trainer, Inc. owns and operates fitness centers in a dozen Midwestern cities. The centers have done well, and the company is planning an international expansion by opening a new "superce ...

Please elaborate your understanding about how rfid and nfc

Please elaborate your understanding about how RFID and NFC work. What are the current security considerations and challenges?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As