Download
100% FREE
Office Document APIs for .NET
Online: 1304
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Bookmarks
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Forums
>
C#
>
Loading ...
how to implement program using c#
Posted by
Naidulaxmi
under
C#
on 12/19/2013 |
Points: 10
| Views : 648 | Status :
[Member]
| Replies : 2
Write New Post
|
Search Forums
|
Resolved Posts
|
Un Answered Posts
|
Forums Home
Hi friends,
I want to implement program below format
5 5 5 5 5
4 4 4 4
3 3 3
2 2
1
2 2
3 3 3
4 4 4 4
5 5 5 5 5
Please help me and please gr through the attachment
Thanks,
Naidu.
appalanaidu
Reply
|
Reply with Attachment
Alert Moderator
Responses
Posted by:
vishalneeraj-24503
on: 12/19/2013
[Member]
[MVP]
Platinum
|
Points: 25
0
public static void Main(string[] args)
{
Console.Write ("Type number of rows: ");
string rows = Console.ReadLine();
int noLines;
int.TryParse (rows, out noLines);
for (int row = 1; row <= noLines; row++)
{
for (int column = 1; column <= row; column++)
{
Console.Write("{0} ", column);
}
Console.WriteLine();
}
}
}
Naidulaxmi
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Posted by:
vishalneeraj-24503
on: 12/19/2013
[Member]
[MVP]
Platinum
|
Points: 25
0
refer:-
http://www.dreamincode.net/forums/topic/199249-asterisks-patterns-in-c%23/
Naidulaxmi
, if this helps please
login
to
Mark As Answer
. |
Alert Moderator
Login to post response
Latest Posts
Get +1-833-445-7444 Facebook Customer Support Phone Number
(0)
New
dowload pdf files from server to local .asp.net mvc
(0)
New
Get +1-833-445-7444 Verizon Email Customer Support Number
(0)
New
specific cast is not valid in linq query when compare two tables
(0)
New
SEO(Search Engine Optimization)
(0)
New
Dial Hotmail Customer service Number +1-800-518-0963
(0)
Best Assignment Help Services Provider
(0)
How can a video in the website explain the navbar values?
(1)
More ...