Advertisement
jwrbg

Untitled

Jan 13th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. package com.company;
  2.  
  3. ;
  4. import java.util.Scanner;
  5.  
  6. public class Main {
  7.  
  8. public static void main(String[] args) {
  9. try (Scanner scanner = new Scanner(System.in))
  10. {
  11. double usd = Double.parseDouble(scanner.nextLine());
  12. double bgn = usd*1.79549;
  13. System.out.printf("%.2f",bgn);
  14.  
  15. }
  16. }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement