Home > Backend Development > PHP Tutorial > PHP程序员:写个程序来卖切糕!_PHP教程

PHP程序员:写个程序来卖切糕!_PHP教程

WBOY
Release: 2016-07-13 10:37:39
Original
782 people have browsed it

[代码] 写个程序来卖切糕

“听说切糕最近很火热,很卖钱。所以,我也想发个小财……”
view source print? 01 public class 卖切糕{ 02   03        public static void main(String[] args) throws Exception{ 04             String[] 很多切糕 = {"其","实","第","一","次","听","说","要","拍","卖","切","糕","广","告","我","是","拒","绝","的",",","因","为",",","你","不","能","让","我","拍",",","我","就","马","上","去","拍","。","第","一","我","要","试","一","下",",","因","为","我","不","想","拍","完","了","以","后","再","加","一","些","特","技","上","去",",","切","糕","“咣”","一","下",",","很","亮、","很","碉","堡",",","这","样","观","众","出","来","一","定","会","骂","我",",","根","本","没","有","这","样","的","切","糕",",","就","证","明","上","面","那","个","是","假","的","。","后","来","我","也","经","过","证","实","他","们","确","实","是","货","真","价","实","的","切","糕",",","我","卖","大","概","一","个","月","左","右",",","感","觉","还","不","错",",","卖","了","几","百","个","万",",","后","来","我","在","卖","的","时","候","也","要","求","他","们","不","要","加","特","技",",","因","为","我","要","让","观","众","看","到",",","我","卖","完","之","后","是","这","个","鸟","样",",","你","们","卖","完","之","后","也","会","是","这","个","熊","样","!"}; 05             while(true){ 06               for(int i = 0; i 07               System.out.print(很多切糕[i]); 08               Thread.sleep(150); 09               } 10               System.out.println(""); 11               System.out.println("--------------------再来一炮--------------------"); 12               Thread.sleep(5000);   13             } 14         } 15   16     }

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/735163.htmlTechArticle[代码] 写个程序来卖切糕 听说切糕最近很火热,很卖钱。所以,我也想发个小财 view source print? 01 public class 卖切糕{ 02 03 public static void ma...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template