Guest User

Untitled

a guest
Jul 17th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. public static void main(String[] args) {
  2.  
  3.  
  4. String jatko = "k";
  5.  
  6. while(jatko.equals("k")) {
  7.  
  8. Kaupunki tkaupunki = new Kaupunki();
  9.  
  10. ohje();
  11. System.out.print("\nMaa: ");
  12. String maa = Lukija.lueMerkkijono();
  13.  
  14.  
  15. System.out.print("\nKaupunki: ");
  16. String kaupunki = Lukija.lueMerkkijono();
  17.  
  18.  
  19. System.out.print("\nAsukasluku: ");
  20. String asukasluku = Lukija.lueKokonaisluku(1, 5);
Add Comment
Please, Sign In to add comment