deyanivanov966

FIRST STEPS IN CODING - EXERCISE 01. USD to BGN

Aug 21st, 2020 (edited)
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.28 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. public class EurotoBgn {
  4.     public static void main(String[] args) {
  5.         Scanner scan = new Scanner(System.in);
  6.         Double USD = Double.parseDouble(scan.nextLine());
  7.         Double BGN = USD * 1.79549;
  8.         System.out.println(BGN);
  9.     }
  10. }
Add Comment
Please, Sign In to add comment