Advertisement
Guest User

Untitled

a guest
Oct 30th, 2014
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. public class Zufallszahl {
  2.  
  3. public static void main(String[] args) {
  4.  
  5. int n = Integer.parseInt(args[0]);
  6. int m = Integer.parseInt(args[1]);
  7.  
  8. int r = Math.random(n,m);
  9.  
  10. System.out.println("Die Zufallszahl ist ");
  11. System.out.println (r);
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement