Advertisement
Guest User

Untitled

a guest
Oct 15th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. import java.sql.SQLOutput;
  2. import java.util.Scanner;
  3.  
  4. public class Interfejs {
  5.  
  6. public Interfejs()
  7. {
  8. Scanner odczyt = new Scanner(System.in);
  9. String kod, ilosc, kod2;
  10. System.out.println("Program do przeliczania walut");
  11. do {
  12. System.out.println("Podaj kod waluty jaka posiadasz:");
  13. kod = odczyt.nextLine();}
  14. while(Check.check(kod));
  15. System.out.println("Podaj ilosc waluty jaka posiadasz:");
  16. ilosc = odczyt.nextLine();
  17. System.out.println("Podaj na jaka chcesz wymienic:");
  18. kod2 = odczyt.nextLine();
  19. }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement