Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.company;
- import java.util.Scanner;
- public class usdToBgn {
- public static void Main (String[] args){
- Scanner scanner = new Scanner (System.in);
- double usd = Double.parseDouble(scanner.nextLine());
- double bgn = usd*1.79549;
- System.out.printf("%.2f",bgn);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement