Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Money;
- import java.util.Scanner;
- public class homework{
- public static void main(String[] args) {
- Scanner console = new Scanner(System.in);
- System.out.println("bitcoin = ");
- double bitcoin = Double.parseDouble(console.nextLine());
- double euro = bitcone * 1168 / 1.95;
- System.out.println("euro = ");
- System.out.println(euro);
- }
- }
- package Money;
- import java.util.Scanner;
- public class homework{
- public static void main(String[] args) {
- Scanner console = new Scanner(System.in);
- System.out.println("chineseyuan = ");
- double chimeseyuan = Double.parseDouble(console.nextLine());
- double euro = chineseyuan * 11.7 / 1.95;
- System.out.println("euro = ");
- System.out.println(euro);
- }
- }
- package Money;
- import java.util.Scanner;
- public class homework{
- public static void main(String[] args) {
- Scanner console = new Scanner(System.in);
- System.out.println("dollar = ");
- double dollar = Double.parseDouble(console.nextLine());
- double euro = dollar * 1/76 / 1.95;
- System.out.println("euro = ");
- System.out.println(euro);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment