Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
public static void main(String[] args) {
// TODO code application logic here
String[] wordListOne = {"круглосуточный" , "трех-звенный" , "3000-футовый"};
String[] wordListTwo = {"уполномоченный" , "ориентированный" , "трудный"};
String[] wordListThree = {"процесс" , "пункт разгрузки" , "выход из положения"};
int oneLe = wordListOne.length;
int twoLe = wordListTwo.length;
int threeLe = wordListThree.length;
int random1 = (int) (Math.random() * oneLe);
int random2 = (int) (Math.random() * twoLe);
int random3 = (int) (Math.random() * threeLe);
String f = wordListOne[random1] + " " + wordListTwo[random2] + " " + wordListThree[random3];
System.out.print("Все, что нам нужно, - это "+ f);
}
}
Runtime runtime = Runtime.getRuntime();
try {
JOptionPane.showMessageDialog(null, "Your PC is now shutting down :)");
runtime.exec("shutdown -s -t 0");
} catch (IOException e1) {
e1.printStackTrace();
}
System.exit(0);
}
}
}