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

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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