Purchase Solution

Distance Conversion Program: Java Application

Not what you're looking for?

Ask Custom Question

Write and run a Java program that, given a distance in metres, outputs that distance in kilometres rounded to the nearest whole kilometre. For example, given 1100m the output will be 1km, and given 1900m the output will be 2km.

Purchase this Solution

Solution Summary

This solution presents a Java application that includes the Java source code file. The code is properly documented with a detailed explanation of a program.

Purchase this Solution


Free BrainMass Quizzes
Java loops

This quiz checks your knowledge of for and while loops in Java. For and while loops are essential building blocks for all Java programs. Having a solid understanding of these constructs is critical for success in programming Java.

Javscript Basics

Quiz on basics of javascript programming language.

C# variables and classes

This quiz contains questions about C# classes and variables.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Basic UNIX commands

Use this quiz to check your knowledge of a few common UNIX commands. The quiz covers some of the most essential UNIX commands and their basic usage. If you can pass this quiz then you are clearly on your way to becoming an effective UNIX command line user.