Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- /**
- * Created by igelov on 11/03/2017.
- */
- public class USDtoBGN {
- public static void main(String[] args) {
- Scanner console = new Scanner(System.in);
- double usd = Double.parseDouble(console.nextLine());
- double bgn = usd * 1.79549;
- System.out.printf("%.2f", bgn);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement