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