Write a gui java application

Assignment Help Basic Computer Science
Reference no: EM13995124

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).

Reference no: EM13995124

Questions Cloud

How should it be aligned to max the amount of light : If you have a vertical and horizontal polarizer in series , no ligh passes through both . Where can I place a third polarizer such that some light passes through all three ? how should it be aligned to max the amount of light that can pass through..
Agency and for the approval of the senior : Remember that you are writing from the point-of-view of a mid-level manager in an agency and for the approval of the senior management of that agency. You are to present a problem area that involves a department/agency issue that is significant to..
Calculate taxable income : Your client provides you with information (as detailed below) on various transactions between 1 July 2014 and 30 June 2015. Your client seeks advice as to what amount(s)
Calculate the average acceleration for the time interval : Write an equation describing the stretch of the steel elevator calbe assuming the cable has a diameter of 8.00mm. Suppose the elevator and ocupants have a combined mass of 450kg.
Write a gui java application : 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 cod..
What if any action should now take for its financial : What, if any, action should Now take for its financial statements?
Prepare the journal entry for the issuance : Prepare the journal entry for the issuance of the note by Quantum Technology.
Find the time constant of the circuit : Consider the series RC-circuit shown below for which R = 41.0 kΩ, C = 41.0 µF, and [e m f] = 26.5 V. Find the time constant of the circuit and the charge on the capacitor one time constant after the switch is closed.
Determine the amount of interest expense : Determine the amount of interest expense that should be recorded in a year-end adjusting entry under each of the following independent assumptions:

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Role of cognitive psychology in the design of user interface

To enable students to select and justify the choice of appropriate input/output devices and communication styles for interactive systems - You are given the opportunity to evaluate a user interface prototype which was designed according to the bri..

  Research a writing guide for forensics organization

Your manager has asked you to research and recommend a writing guide that examiners in your computer forensics organization will use for all official written reports.

  Questions based on computer science

Which of these statements are true, for propositional logic? (In an exam you would have to justify your answers). A. If a formula is not satisfiable then it is not valid B. X is not satisfiable if and only if ¬X is valid C. If a formula is not valid ..

  Create an application predict size of population organisms

Create an application that will predict the approximate size of the population of organisms. The user should select or enter the starting number of organisms in a combo box, enter the average daily population increase(as a percentage) in a text bo..

  What role social media plays in organisations decision

What role social media plays in organisations decision making?

  Which item is template argument

Consider this function call: DoThis (3.85) a. Which item is template argument? b. Which template is function argument? c. Could the call be written as DoThis(3.85)?

  Simplify the functional expressions using boolean algebra

The Apostrophes represent a line over the letter that it is after. The last set of parenthesis has a line over it as well as the x and y in them.

  Writing user requirements

Writing User Requirements

  Did the city make the right decision to left town

Aabout 300,000 bills would have had to have been examined. Some residents left town, and the individual refunds were not that large. Did the city make the right decision?

  Would you agree with the materialism philosophy.state reason

Extending this argument, is it possible for artificial intelligence to surpass human intelligence? Substantiate your position with references, length around 500 words.

  Different types of digital modulation schemes

How can we compare the performance of two or more different types of digital modulation schemes?

  Create a program that asks users to enter the name

Create a program that asks users to enter the name of their favorite team. Have the program display this team's name. Then have program ask the user to enter the name of their five previous oponents,

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd