vb的嵌套循环...帮忙 [英] Nested loop for vb... help pls

查看:68
本文介绍了vb的嵌套循环...帮忙的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

输出

空间*

空间**

spa ***

sp ****

s *****

输出

空格*

spac ***

spa *****

sp *******

s *********



如何在vb.net??div class =h2_lin>解决方案

中编写代码这看起来像是作业。



如果你做了自己的功课,那将是最好的。这是给你的,这样你就可以学到一些东西,想想所教的内容。阅读你的教科书并尝试一下。



一旦你有代码并遇到问题,你可以随时回到这里,提出更具体的问题,社区将做最好的帮助你。不要忘记仅发布造成问题的相关代码位,因为代码转储通常对帮助/协助您没有帮助。



祝你好运,编码愉快。


output
space*
spac**
spa***
sp****
s*****
Output
space*
spac***
spa*****
sp*******
s*********

how to code this in vb.net?

解决方案

This looks like homework.

It would be best if you did your own homework. It is given to you so that you will learn something, think about what have been taught. Read your text books and give it a try.

Once you have code and run into problems you can always come back here with a more specific question and the community will do its best to help you. Don''t forget to post only the relevant code bits that pose the problem as a code dump is not usually helpful at all in getting someone to help/assist you.

Good luck and happy coding.


这篇关于vb的嵌套循环...帮忙的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆