Question about Computers & Internet

1 Answer

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

1 Answer

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

    Brigadier General:

    An expert that has over 10,000 points.

  • Master
  • 10,406 Answers

/* 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

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert 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 repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

I have a vehicle which have moved for 2383 kilo meters and used 320 liters of diesel what should be the consumption rate


school work you should solve by yourself... not by fixya...

you have following data:
v = volume = 320liters
d = distance = 2383km (kilometers is a single word...)


there is several formula to solve this mathematical problem, if you want how many liters per 100km formula is as follows:
(v/d) x 100 = 100km/ltr just substitute your data

if you hear then that vehicle is using 7.5ltr/100km that was the formula. unfortunately - you need to calculate your own data, this was just an example...

another variation is distance per liter, there is formula:
d/v = distance (kilometers) per liter

if you hear that car is driving 11km/ltr - that is again, and example, you need to calculate your own data...

enjoy! and vote...

Feb 10, 2015 | Haier DWL3525DDBB 24 inch Built-in Tall...

1 Answer

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.
Refer the link - https://www.java.com/en/download/help/java_blocked.xml

2.2

Feb 28, 2014 | Computers & Internet

1 Answer

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

1 Answer

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.
need to read the phone system, network or application software to download the JAD is authorized with the certificate.
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

1 Answer

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

2 Answers

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

1 Answer

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

4 Answers

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)

1 Answer

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

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

285 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18384 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...