level 10
柚子℃
楼主
import java.util.*;
public class Main
{
public static void main(String[] args)
{
String[] wordLisOne = {"24/7","multi-Tier","30,000 foo","B-to-B","win-win","front-end","web-based","pervasive","smart","six-sigma","critical-path","dynamic"};
String[] wordLisTwo = {"empowered" ,"sticky" ,"value-added", "oriented" ,
"centric", "distributed", "clustered", "branded", "outside-the-box",
"positioned", "networed", "focused", "leveraged", "aligned", };
String[] wordLisThree = { "process","tipping-point", "solution", "architecture",
"core competency","stategy", "mindshare","portal","space", "vision", "paradigm"
,"mission"};
int oneLength =wordLisOne.length;
int twoLength = wordLisTwo.length;
int threeLength=wordLisThree.length;
int rand1=(int)(Math.random()*oneLength);
int rand2=(int)(Math.random()*twoLength);
int rand3=(int)(Math.random()*threeLength);
String phrase = wordLisOne[rand1]+""+wordLisTwo[rand2]+""+wordLisThree[rand3];
System.out.println("What we need is a "+phrase);
2016年07月27日 12点07分
1
public class Main
{
public static void main(String[] args)
{
String[] wordLisOne = {"24/7","multi-Tier","30,000 foo","B-to-B","win-win","front-end","web-based","pervasive","smart","six-sigma","critical-path","dynamic"};
String[] wordLisTwo = {"empowered" ,"sticky" ,"value-added", "oriented" ,
"centric", "distributed", "clustered", "branded", "outside-the-box",
"positioned", "networed", "focused", "leveraged", "aligned", };
String[] wordLisThree = { "process","tipping-point", "solution", "architecture",
"core competency","stategy", "mindshare","portal","space", "vision", "paradigm"
,"mission"};
int oneLength =wordLisOne.length;
int twoLength = wordLisTwo.length;
int threeLength=wordLisThree.length;
int rand1=(int)(Math.random()*oneLength);
int rand2=(int)(Math.random()*twoLength);
int rand3=(int)(Math.random()*threeLength);
String phrase = wordLisOne[rand1]+""+wordLisTwo[rand2]+""+wordLisThree[rand3];
System.out.println("What we need is a "+phrase);