+ 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
1 Réponse
0
Q&A means:
You post your code here and ask a question regarding it. Then you will get an answer.