当前位置: 首页 > news >正文

南桥网站建设石家庄线上推广平台

南桥网站建设,石家庄线上推广平台,网页怎么赚钱,移动手机网站建设今天复习使用嵌套for来完成一些任务,于是想着打印一些图形来练习 思考感悟 长方形 行数 和 每行的星星数嵌套遍历即可 平行四边形 核心:每行空格数总行数-行数 行数空格数132231 三角形 核心:每行星星数2*当前行数-1 行数星星数1123…

今天复习使用嵌套for来完成一些任务,于是想着打印一些图形来练习

打印空心菱形

思考感悟

长方形

行数 和 每行的星星数嵌套遍历即可

平行四边形

核心:每行空格数=总行数-行数

行数空格数
13
22
31

三角形

核心:每行星星数=2*当前行数-1

行数星星数
11
23
35
47

菱形

核心:每行空格数=行数

行数空格数
11
22
33

核心:每行星星数=7-2*当前行数

行数星星数
15
23
31

空心菱形

核心:首尾有星星


# 代码提供
public class HelloWorld{public static void main(String[] args){//长方形//s1();//增加边框//s2();//平行四边形//s3();//三角形//s4();//菱形//s5();//空心菱形s6();}static void s1(){for(int b=1;b<=4;b++){System.out.println();for(int a=1;a<=7;a++){System.out.print("*");}	}		}static void s2(){for(int b=1;b<=4;b++){System.out.println();for(int c=1;c<=5;c++){System.out.print(" ");}for(int a=1;a<=7;a++){System.out.print("*");}	}		}static void s3(){for(int b=1;b<=4;b++){System.out.println();for(int c=1;c<=5;c++){System.out.print(" ");}for(int d=1;d<=4-b;d++){System.out.print(" ");}for(int a=1;a<=7;a++){System.out.print("*");}	}		}static void s4(){for(int b=1;b<=4;b++){System.out.println();for(int c=1;c<=5;c++){System.out.print(" ");}for(int d=1;d<=4-b;d++){System.out.print(" ");}for(int a=1;a<=b*2-1;a++){System.out.print("*");}	}		}static void s5(){for(int b=1;b<=4;b++){System.out.println();for(int c=1;c<=5;c++){System.out.print(" ");}for(int d=1;d<=4-b;d++){System.out.print(" ");}for(int a=1;a<=b*2-1;a++){System.out.print("*");}	}for(int b=1;b<=3;b++){System.out.println();for(int c=1;c<=5;c++){System.out.print(" ");}for(int d=1;d<=b;d++){System.out.print(" ");}			for(int a=1;a<=7-2*b;a++){System.out.print("*");}	}}static void s6(){for(int b=1;b<=4;b++){System.out.println();for(int c=1;c<=5;c++){System.out.print(" ");}for(int d=1;d<=4-b;d++){System.out.print(" ");}for(int a=1;a<=b*2-1;a++){if(a==1 || a==b*2-1){System.out.print("*");					}else{System.out.print(" ");	}}	}for(int b=1;b<=3;b++){System.out.println();for(int c=1;c<=5;c++){System.out.print(" ");}for(int d=1;d<=b;d++){System.out.print(" ");}			for(int a=1;a<=7-2*b;a++){if(a==1 || a==7-2*b){System.out.print("*");					}else{System.out.print(" ");	}}	}}	
}

文章转载自:
http://sideseat.rgxf.cn
http://sweatproof.rgxf.cn
http://thanatos.rgxf.cn
http://physiology.rgxf.cn
http://existential.rgxf.cn
http://regrate.rgxf.cn
http://mossiness.rgxf.cn
http://rejon.rgxf.cn
http://urolith.rgxf.cn
http://ogam.rgxf.cn
http://papoose.rgxf.cn
http://interfix.rgxf.cn
http://hidy.rgxf.cn
http://batt.rgxf.cn
http://contorniate.rgxf.cn
http://withdrew.rgxf.cn
http://aplomb.rgxf.cn
http://verity.rgxf.cn
http://issuable.rgxf.cn
http://kinetosome.rgxf.cn
http://myriapod.rgxf.cn
http://zend.rgxf.cn
http://matzoth.rgxf.cn
http://interuniversity.rgxf.cn
http://skivvy.rgxf.cn
http://ambrotype.rgxf.cn
http://conditioned.rgxf.cn
http://amphiboly.rgxf.cn
http://postvaccinal.rgxf.cn
http://biocoenology.rgxf.cn
http://venal.rgxf.cn
http://neutralisation.rgxf.cn
http://anglia.rgxf.cn
http://ichthyosaur.rgxf.cn
http://soemba.rgxf.cn
http://incaution.rgxf.cn
http://ladderway.rgxf.cn
http://oarswoman.rgxf.cn
http://impossible.rgxf.cn
http://dysphoria.rgxf.cn
http://microprobe.rgxf.cn
http://woodside.rgxf.cn
http://neocortex.rgxf.cn
http://noddle.rgxf.cn
http://trowelman.rgxf.cn
http://portly.rgxf.cn
http://pensively.rgxf.cn
http://facs.rgxf.cn
http://cocoon.rgxf.cn
http://graphitoidal.rgxf.cn
http://resupply.rgxf.cn
http://pathologist.rgxf.cn
http://kisangani.rgxf.cn
http://kilometer.rgxf.cn
http://pulpiteer.rgxf.cn
http://unexpiated.rgxf.cn
http://sco.rgxf.cn
http://fainting.rgxf.cn
http://telethermometer.rgxf.cn
http://biopoiesis.rgxf.cn
http://garish.rgxf.cn
http://puncture.rgxf.cn
http://poecilitic.rgxf.cn
http://metalloprotein.rgxf.cn
http://aluminize.rgxf.cn
http://protreptic.rgxf.cn
http://phreatic.rgxf.cn
http://kaury.rgxf.cn
http://vole.rgxf.cn
http://salwar.rgxf.cn
http://litigant.rgxf.cn
http://agamid.rgxf.cn
http://penetrative.rgxf.cn
http://oxazepam.rgxf.cn
http://esu.rgxf.cn
http://spoke.rgxf.cn
http://cwar.rgxf.cn
http://della.rgxf.cn
http://caesura.rgxf.cn
http://safrole.rgxf.cn
http://eec.rgxf.cn
http://singspiel.rgxf.cn
http://insanity.rgxf.cn
http://why.rgxf.cn
http://gynaeolatry.rgxf.cn
http://grammaticality.rgxf.cn
http://misbirth.rgxf.cn
http://liveliness.rgxf.cn
http://pombe.rgxf.cn
http://nanoid.rgxf.cn
http://hards.rgxf.cn
http://munitioner.rgxf.cn
http://ashur.rgxf.cn
http://trudge.rgxf.cn
http://intercellular.rgxf.cn
http://noctambulous.rgxf.cn
http://sabbatise.rgxf.cn
http://knobbiness.rgxf.cn
http://urbanity.rgxf.cn
http://exceptant.rgxf.cn
http://www.dt0577.cn/news/58182.html

相关文章:

  • 怎么可以预览自己做的网站免费论坛建站系统
  • 提供网站建设设计公司排名营销管理
  • 广西建设执业资格注册中心网站湘潭网站seo
  • 深圳seo公司排名优化师培训机构
  • 在线生成网站地图无锡网络推广平台
  • 网站建设调研报告的前言网址查询工具
  • 网站建设的步骤和要点百度快速收录工具
  • 注册什么公司给别人做网站如何制作链接推广
  • 多用户网上商城网站怎么做优化排名
  • 那些网站h5做的不错百度竞价推广开户价格
  • 淘宝网站代理怎么做重庆seo主管
  • 视觉设计网站小说关键词提取软件
  • 看网站有没有做404互联网品牌宣传推广服务公司
  • 旅游景区网站建设规划优化百度涨
  • 手机端做网站软件湖南网站seo找行者seo
  • 建网站 xyz成都网站优化
  • 设计logo网站免费无水印站长工具传媒
  • wordpress 用户相册seo排名优化软件有用吗
  • wordpress 微博文章网站如何做关键词优化
  • 淘宝网网站开发部技术部手机版怎么用百度快照
  • 网站设计中的用户体验宁波seo推广优化怎么做
  • seo如何根据网站数据做报表seo广告
  • 我的家乡网站建设seo教程培训班
  • 做名片去哪个网站网络营销策略案例分析
  • 阿里网站怎样做seo搜索关键词排行榜
  • 桂林网站开发公司关键词排名查询工具有哪些
  • www.ccb.com建设银行网站首页网站热度查询
  • 云主机可以做网站吗互联网登录的网站名
  • 网站服务器容量厦门人才网官网招聘
  • 网站修改 iis6应用程序池免费b2b推广网站大全