Pasang Steam
sign in
|
bahasa
简体中文 (Bahasa Cina Dipermudah)
繁體中文 (Bahasa Cina Tradisional)
日本語 (Bahasa Jepun)
한국어 (Bahasa Korea)
ไทย (Bahasa Thai)
Bahasa Indonesia
Български (Bahasa Bulgaria)
Čeština (Bahasa Czech)
Dansk (Bahasa Denmark)
Deutsch (Bahasa Jerman)
English (Bahasa Inggeris)
Español – España (Bahasa Sepanyol – Sepanyol)
Español – Latinoamérica (Bahasa Sepanyol – Amerika Latin)
Ελληνικά (Bahasa Greek)
Français (Bahasa Perancis)
Italiano (Bahasa Itali)
Magyar (Bahasa Hungary)
Nederlands (Bahasa Belanda)
Norsk (Bahasa Norway)
Polski (Bahasa Poland)
Português (Bahasa Portugis – Portugal)
Português – Brasil (Bahasa Portugis – Brazil)
Română (Bahasa Romania)
Русский (Bahasa Rusia)
Suomi (Bahasa Finland)
Svenska (Bahasa Sweden)
Türkçe (Bahasa Turkiye)
Tiếng Việt (Bahasa Vietnam)
Українська (Bahasa Ukraine)
Laporkan masalah terjemahan

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);
}
}
}