Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.sql.SQLOutput;
- import java.util.Scanner;
- public class Interfejs {
- public Interfejs()
- {
- Scanner odczyt = new Scanner(System.in);
- String kod, ilosc, kod2;
- System.out.println("Program do przeliczania walut");
- do {
- System.out.println("Podaj kod waluty jaka posiadasz:");
- kod = odczyt.nextLine();}
- while(Check.check(kod));
- System.out.println("Podaj ilosc waluty jaka posiadasz:");
- ilosc = odczyt.nextLine();
- System.out.println("Podaj na jaka chcesz wymienic:");
- kod2 = odczyt.nextLine();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement