Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.util.Scanner;
- public class NollastaLukuun {
- public static void main(String[] args) {
- Scanner lukija = new Scanner(System.in);
- int syote = Integer.valueOf(lukija.nextLine()) ;
- int luku = 0 ;
- while (luku == syote) {
- luku++;
- System.out.println(luku);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement