- import java.util.*;
- class shower
- {
- public static void main(String[] args)
- {
- int randomNum = new Random().nextInt(10001);
- if(randomNum <=5000 && randomNum >0)
- System.out.println("去洗澡吧!亲!");
- else if(randomNum >5000 && randomNum <10000)
- {
- System.out.println("算了!还是脏着吧!");
- }else{
- System.out.println("草!傻逼孩子,编个程序都出错!!");
- }
- }
- }
复制代码
|