如何在流程图中绘制无限符号。

huangapple go评论66阅读模式
英文:

how to draw infinte in a flowchart

问题

我正在学习流程图,想要在流程图中展示这段代码,希望能够打印无限次而不声明计数器。请注意,我没有声明任何计数器。

for (;;){
    System.out.println("helloworld"); 
}		
英文:

I was learning flowcharts, wanted to show this code in a flowchart, wanted to print infinite times without declaring a counter. please note I haven't declared any counter.

for (;;){
		System.out.println("helloworld"); 
	}		}

答案1

得分: 2

无限循环就像任何其他循环一样,是一个回到先前点的箭头。

通常,你仍然会像往常一样在循环开始处放置一个条件(菱形/钻石形状),但只有一条外出路径。

英文:

An infinite loop is like any other loop an arrow that goes back to a previous point.

Usually, you still place a condition (rhombus/diamond shape) at the start of the loop as usual, but there is only one outgoing path.

huangapple
  • 本文由 发表于 2020年10月12日 14:13:22
  • 转载请务必保留本文链接:https://go.coder-hub.com/64312547.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定