+ 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

13th Sep 2021, 6:45 AM
Michael Mykeyz Harris
Michael Mykeyz Harris - avatar
1 Answer
Q&A means: You post your code here and ask a question regarding it. Then you will get an answer.
13th Sep 2021, 7:24 AM
Coding Cat
Coding Cat - avatar