如何更改/打印图案。 [英] How to change/print pattern.
本文介绍了如何更改/打印图案。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好,我只是有几个问题。第一个是如何打印图案。我可以使用if else,但我记得我的老师在谈论类似
Hello, I just have a few questions. The first one be how would you print a pattern. I could use the if else, but I remember my teacher talking about something like
展开 | 选择 | Wrap | 行号
推荐答案
我没有看到代码,但基本上逻辑是:
(非特定伪代码
I didn''t really look at the code but basically the logic would be:
(in non-specific pseudocode
展开 | Sele ct | Wrap | 行号
I并没有真正看到代码,但基本上逻辑是:
(非特定伪代码
I didn''t really look at the code but basically the logic would be:
(in non-specific pseudocode
展开 | 选择 | 换行 | 行号
我的代码是非语言特定的...
所以循环语句可以替换为像
my code is non language specific...
so the loop statement could be replaced with something like
展开 | 选择 | Wrap | 行号
这篇关于如何更改/打印图案。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文