# How can i solve this problem?

Write a Java application that prompts the user to enter a distance in kilometers and output the distance expressed in miles. One kilometers equals 0.62137 miles. Use DISTANCE as class name.

Posted by on

• Level 3:

An expert who has achieved level 3 by getting 1000 points

All-Star:

An expert that got 10 achievements.

MVP:

An expert that got 5 achievements.

An expert that has over 10,000 points.

• Master

/* REXX is better than JAVA -- see: http://www.REXXLA.org */

say 'Welcome to the class named DISTANCE'
pull kilometers junk
if kilometers = ' ' then exit
conversion = 0.62137
miles = kilometers * conversion
say kilometers 'Kilometers is' miles 'Miles.'
exit

Posted on Dec 03, 2009

Hi,
a 6ya Technician can help you resolve that issue over the phone in a minute or two.
Best thing about this new service is that you are never placed on hold and get to talk to real repair professionals here in the US.
Goodluck!

Posted on Jan 02, 2017

×

my-video-file.mp4

×

## Related Questions:

### How would I find out the answer to this?

speed= distance/time
speed=4281/4.5 km/h
speed=951.34 kmph
hence, the plane fly at 951.34 kmph

Jan 04, 2017 | Homework

### When i use voobys to download from youtube it tells that my security settings have blocked a self signed application from running how do i solve this problem

This happens because the developer has not met the security guidelines. you can follow one of the 2 steps -

1. It is in your best interest to contact developer or publisher of this application and let them know about the application being blocked. Also provide developers with these links that gives details about implementing secure practices in the code for the application. 2. As a workaround, the user can use Exception Site list feature to run the applications blocked by security settings.

2.2

Feb 28, 2014 | Computers & Internet

### Distance in kilometers

Try Google maps. Enter an address (city hall) in the starting point, and a destination point then find the itinerary. Read the distance in the summary.

Feb 20, 2014 | Office Equipment & Supplies

### How to stop 'allow network access' pop up window in nokia 7610 supernova. Its very annoying that it always comes in between when i am surfing the net.

you download the java software first before you can run: on the phone to find your JAVA applications. Then select the section to stop the application software, press the left soft key operation, go to see the applications access the. Application access - communication - network access, if the software has a license certificate, then select Always allow, no election for the first time asked.
application software access - communication - data interchange, if the software has a license certificate, then select Always allow, no election for the first time asked.
application software access - data access - read user data, select Always allow the software without authorization certificate for each inquiry to the election.
application software access - data access - increased selection and editing of data is always permitted, the software did not authorize the certificate to select Always ask.
this way can avoid the use of mobile phones, java software, always prompt " allow network access " this problem, this method is suitable for the Nokia S40 operating system models.

Aug 14, 2010 | Nokia 7610 Supernova Cell Phone

### What is J2ME?

J2ME
Java Platform, Micro Edition (Java ME) provides a robust, flexible environment for applications running on mobile and other embedded devices—mobile phones, personal digital assistants (PDAs), TV set-top boxes, and printers. Java ME includes flexible user interfaces, robust security, built-in network protocols, and support for networked and offline applications that can be downloaded dynamically. Applications based on Java ME are portable across many devices, yet leverage each device's native capabilities.

Java Security
Java security technology includes a large set of APIs, tools, and implementations of commonly used security algorithms, mechanisms, and protocols. The Java security APIs span a wide range of areas, including cryptography, public key infrastructure, secure communication, authentication, and access control. Java security technology provides the developer with a comprehensive security framework for writing applications, and also provides the user or administrator with a set of tools to securely manage applications.

Jul 17, 2010 | Sun Java Studio Standard 5 (SSJI9501TL9M)...

### How do you enter the equation 4(5x+3)=2(7x+6) in the calculator?

http://support.casio.com/pdf/004/fx-115ES_991ES_Eng.pdf
Refer to page 12 of the manual under Inputting expressions and values. It is pretty straight forward if you need further assistance please let me know.
Thank you,
Lee

Nov 17, 2009 | Casio FX-115ES Scientific Calculator

### Toggle display Ironman Achiever between Kilometers and Miles?

On the back of the console, there is a place to switch from kilometers to miles. It's just a black little switch, labeled with miles or kilom.

Jun 30, 2009 | Ironman Fitness Achiever Elliptical...

### Can anyone tell how run java program in cmd prompt???

Hi,

You need to type:

If it's a program.class

java program

or of it's a program.jar

java -jar program.jar

regards

Apr 03, 2009 | Sun Java Programming Language (cdj-275)

### Trig and distance

Debs,

this is solved by starting with the SECOND leg of the flight considered as a triangle.

Find how far DUE east the plane travels (100 km x Cos10 = 83.9 km) using 10 degrees because that is how much is left of the 90 degree quadrent after subtracting the 80 degrres course direction.
Similarly find out how far DUE north the plane travels (100 km x Cos80 = 11 km).

Now get the total flight NORTH = 300 + 11 = 311
- and total EAST = 83.9

Finally, use Pythagoras theorem.to get the total DISTANCE:
square root of ( 311 squared + 83 squared ) = 321 km

Also the DIRECTION from its Tangent of 83 /311 = 14.9 degrees

Dec 19, 2008 | Super Tutor Trigonometry (ESDTRIG) for PC

## Open Questions:

#### Related Topics:

288 people viewed this question

Level 3 Expert

Level 3 Expert