/*
* Item drop
* Item drop rule: numbers the items on the body and generates a random number. The number determines the items to be dropped. Numbering rules:
* 1-helmet 2-clothing 3-weapons 4-shoes 5-necklace 6-ring 7-Bracelet 8-wrapped items
*/
Public class wupindiaoluo {
Public static void main (string [] ARGs ){
// Generate random numbers
Int n = (INT) (math. Random () * 9 );
// Determine the result of the drop
If (n = 1 ){
System. Out. println ("Helmet ");
} Else if (n = 2 ){
System. Out. println ("Clothes ");
} Else if (n = 3 ){
System. Out. println ("Weapon ");
} Else if (n = 4 ){
System. Out. println ("Shoes ");
} Else if (n = 5 ){
System. Out. println ("necklace ");
} Else if (n = 6 ){
System. Out. println ("ring ");
} Else if (n = 7 ){
System. Out. println ("bracelet ");
} Else if (n = 8 ){
System. Out. println ("items in the package ");
} Else {
System. Out. println ("NONE ");
}
}
}