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

  Find a solution to storage dilemma

Mr Green owns ABC Music, which is a shop that sells music CD's to customers. Currently sales data is stored using a paper based system and Mr Green is running out of room to store ABC's sales records. Mr Green has approached you to find a solu..

  Determine the expected number of empty bins

Assume that n balls are tossed into n bins, where each toss is independent and ball is equally likely to end up in any bin. Determine the expected number of empty bins?

  Compare and contrast distance-vector and link state routing

Compare and contrast distance-vector and link state routing

  Boolean variable called wantstoppings

After reading the input character, the program shall assign a value to a Boolean variable called  wantsToppings ( true  for a customer who wants toppings,  false  for a customer who does not).

  Differences between lans and wireless lans

Wireless networks have become a pervasive part of society today. Let's focus our discussion on Wi-Fi also known as the IEEE 802.11 standards group. The latest member of the 802.11 family is 802.11n. What are some immediately noticeable differe..

  Explain why the it architecture is important

List and explain three criteria that the IT Steering Committee should use to select and prioritize their projects.  Explain why the IT architecture is important to the IT Steering Committee and how they could use it

  How the above code actually accomplishes recursion

How does the recursion end - as a concrete example, what happens for ten factorial as the nal returned value is being computed and why does the recursion stop?

  How to convert power to decimal

How to convert 82 to the 16th power to decimal

  Calculating total addressing capacity of computer system

A computer system uses 20-bit address bus and can address an 8-bit wide memory. The memory of this computer system contains 2 × 32 Kbytes ROM (ROM1, ROM2) and 2 × 16 Kbytes of RAM (RAM1 & RAM2).

  Describe the difference between classes and objects

Please describe the difference between classes and objects. How are they related? What does it mean to instantiate an object? Also, please describe the difference between composition and aggregation and when it is better to use one over the other?

  Let l be a list of nonnegative integers

1.  Let L be a list of nonnegative integers, where min is the smallest element and max is the largest element. Write an expression that specifies a new tuple consisting of max copies of min followed by min copies of max. So, for example, if L is [1, ..

  The object-oriented paradigm supports abstractions

1) The Object-Oriented Paradigm supports abstractions through Classes. Classes are software-programming abstractions; they encapsulate a set of related attributes (data members) and behaviors (methods) while, at the same time, they hide essential det..

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