Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void main(String[] args) {
- Scanner scan = new Scanner(System.in);
- int Bitcoin = scan.nextInt();
- double kityuan = scan.nextDouble();
- double commission= scan.nextDouble()/100;
- double BitcointoLeva = Bitcoin*1168;
- double kityuantousd= kityuan*0.15;
- double kityuantoLeva=kityuantousd * 1.76;
- double euro = (BitcointoLeva + kityuantoLeva) / 1.95 - ((BitcointoLeva + kityuantoLeva)/ 1.95*commission);
- System.out.println(euro);
- }
- }
Add Comment
Please, Sign In to add comment