Advertisement
Guest User

MijngetalApplicatie

a guest
Oct 20th, 2014
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.65 KB | None | 0 0
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6. package ui;
  7. import domein.MijnGetal;
  8. import java.util.Scanner;
  9.  
  10. /**
  11.  *
  12.  * @author donovandesmedt
  13.  */
  14. public class MijnGetalApplicatie {
  15.     public static void main(String[]args){
  16.         Scanner input= new Scanner(System.in);
  17.         System.out.printf("Geef een van 0 verschillend getal in: ");
  18.        
  19.         MijnGetal getal = new MijnGetal(input.nextInt());
  20.        
  21.         System.out.printf("De getallenreeks is %s%n", getal.bepaalUitvoer());
  22.     }
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement