PHP programmer: write a program to sell cut cake!

Source: Internet
Author: User

[Code]Write a program to sell cut cake "I heard cut cake is very hot recently, very sell money. So I also want to make a fortune ......"
View sourcePrint?01public class Slice cake sale {02 03       public static void main(String[] args) throws Exception{04            String [] Many slice slices = {"Its","Real","Th","1","Times","Listen","Say","Yes","Pai","Sell","Cut","Cake","Guang","Notice","I","Yes","Reject","Never","",",","Because","Is",",","You","No","Yes","Let","I","Pai",",","I","Just","Ma","Up","Go","Pai","。","Th","1","I","Yes","Try","1","Bottom",",","Because","Is","I","No","Think","Pai","End","Up","","After","Again","Plus","1","Some","Special","Technology","Up","Go",",","Cut","Cake","" Renew "","1","Bottom",",","Very","Bright ,","Very","Province","Fort",",","This","Sample","Guan","Public","Outbound","Come","1","Ding","Yes","Scold","I",",","Root","Ben","No","Yes","This","Sample","","Cut","Cake",",","Just","Certificate","Ming","Up","Face","That","Items","Yes","False","","。","After","Come","I","Also","Jing","Over","Certificate","Real","He","They","True","Real","Yes","Goods","True","Price","Real","","Cut","Cake",",","I","Sell","Big","Overview","1","Items","Month","Left","Right",",","Sense","Jue","Also","No","Error",",","Sell","Up","Several","Hundred","Items","Ten Thousand",",","After","Come","I","In","Sell","","Hour","Hou","Also","Yes","Please","He","They","No","Yes","Plus","Special","Technology",",","Because","Is","I","Yes","Let","Guan","Public","Look","",",","I","Sell","End","Zhi","After","Yes","This","Items","Bird","Sample",",","You","They","Sell","End","Zhi","After","Also","Yes","Yes","This","Items","Xiong","Sample","!"};05            while(true){06              for(int i = 0; I <many slice. length; I ++ ){07              System. out. print (many slashes [I]);08              Thread.sleep(150);09              }10              System.out.println("");11              System.out.println("-------------------- Try again --------------------");12              Thread.sleep(5000);  13            }14        }15 16    }

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.