Primitive Operators Tour Agency | Sololearn: Learn to code for FREE!

+1

Primitive Operators Tour Agency

You are a manager a a tour agency and need to determine the distances between cities. The given program takes distance in meters as input. Task Complete the code to output the distance in kilometers and meters each on a new line. import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner read = new Scanner(System.in); int distance = read.nextInt(); //complete the code

9/13/2021 6:45:47 AM

Michael Mykeyz Harris

1 Answer

New Answer

0

Q&A means: You post your code here and ask a question regarding it. Then you will get an answer.