Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.company;
- import java.util.Scanner;
- public class Main {
- public static void main(String[] args) {
- Scanner scan = new Scanner(System.in);
- int pounds = Integer.parseInt(scan.nextLine());
- double dollars = pounds * 1.31;
- System.out.printf("%.3f", dollars);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement