需要c#编码才能显示此输出 [英] need c# coding to display this output

查看:60
本文介绍了需要c#编码才能显示此输出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

get input from user and display in the given pattern..need coding for this in c #
*
**
***
****

推荐答案

请勿将您的任务交给我们.尽力解决.
经过几次试验,如果您未能获得期望的输出.那么CP肯定会为您提供帮助.

尝试尝试...别哭泣

看起来,您是.NET的初学者,因此这是学习的绝佳机会.挑战并获得您的输出.

祝你好运.
Do not give your assignment to us. Try to solve at your end.
After couple of trials, if your are failed to recieve desired output. then surely CP will help you.

Try Try...don''t cry

looks, you are begineer in .NET, so it''s a great chance for learning. take a challange and get your output.

Best luck.


for(int i=0;i<5;i++)
{
  for(int j=0;j<i;j++)>
  {
     Console.Write("*");
  }
  console.writeline();
}


这篇关于需要c#编码才能显示此输出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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