Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package FirstStepsInCoding.Exercises;
- import java.util.Scanner;
- public class USDtoBGN {
- public static void main(String[] args){
- Scanner scanne = new Scanner(System.in);
- double usd = Double.parseDouble(scan.nextLine());
- double bgn = usd * 1.79549;
- System.out.println(bgn);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement