Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- class Main {
- public static void main(String[] args) {
- Scanner scanner = new Scanner(System.in);
- int meters = Integer.parseInt(scanner.nextLine());
- System.out.printf("%.2f\n", (double)(meters) / 1000);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement