Guest User

Untitled

a guest
Jan 21st, 2019
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. import java.util.Random;
  2.  
  3. public class new1 {
  4. public static void main(String[] args) {
  5. Random rnd = new Random();
  6. int a = rnd.nextInt(50);
  7. System.out.println(a + " " + (a/2*2+2));
  8. }
  9. }
Add Comment
Please, Sign In to add comment