Instalar Steam
iniciar sesión
|
idioma
简体中文 (chino simplificado)
繁體中文 (chino tradicional)
日本語 (japonés)
한국어 (coreano)
ไทย (tailandés)
Български (búlgaro)
Čeština (checo)
Dansk (danés)
Deutsch (alemán)
English (inglés)
Español de Hispanoamérica
Ελληνικά (griego)
Français (francés)
Italiano
Bahasa Indonesia (indonesio)
Magyar (húngaro)
Nederlands (holandés)
Norsk (noruego)
Polski (polaco)
Português (Portugués de Portugal)
Português-Brasil (portugués de Brasil)
Română (rumano)
Русский (ruso)
Suomi (finés)
Svenska (sueco)
Türkçe (turco)
Tiếng Việt (vietnamita)
Українська (ucraniano)
Comunicar un error de traducción
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);
}
}
}