Advertisement
igelov

Untitled

Mar 17th, 2017
352
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. import java.util.Scanner;
  2.  
  3. /**
  4. * Created by igelov on 11/03/2017.
  5. */
  6. public class USDtoBGN {
  7. public static void main(String[] args) {
  8. Scanner console = new Scanner(System.in);
  9. double usd = Double.parseDouble(console.nextLine());
  10. double bgn = usd * 1.79549;
  11. System.out.printf("%.2f", bgn);
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement