Test All Gadget, Z3X BOX Samsung, Miracle Box, Smart Phone Flash Tool, Stock ROMs, Android Tool, apps, Data Plans Internet

Selasa, 24 Desember 2013

C# Program to Print different Shapes | Triangle | half triangle

C# Program to Print different Shapes | Triangle | half triangle - discussing about technology is my hobby, with media blogs Test All Gadget we can share the knowledge of technology that continues to grow with various ways of use that is intended to simplify your life, now we will discuss first about that in your search that is C# Program to Print different Shapes | Triangle | half triangle please refer to our explanation because we will try to make a complete article for you.

Articles : C# Program to Print different Shapes | Triangle | half triangle
full Link : C# Program to Print different Shapes | Triangle | half triangle
Article Csharp, Article programs,

You can also see our article on:


C# Program to Print different Shapes | Triangle | half triangle

C# Program to Print different Shapes

Program Statement:
Write a program using for loop which prints the following output on the screen.
*
***
*****
*******
*********
***********

Solution:
 static void Main(string[] args)
{
for (int i = 0; i <= 10; i=i+2)
{
for (int j = 0; j <= i; j++)
{
Console.Write("*");
}
Console.WriteLine();
}
Console.ReadLine();
}




enough already articles C# Program to Print different Shapes | Triangle | half triangle

hopefully the information C# Program to Print different Shapes | Triangle | half triangle that we submit on this blog can be useful for your life and all the people who visit this blog.

you just finished reading the article with the title C# Program to Print different Shapes | Triangle | half triangle if you intend to bookmark or shre please use the link https://testallforone.blogspot.com/2013/12/c-program-to-print-different-shapes.html and do not visit other pages on this blog because it still sangant a lot of information about gadgets from the old to the latest.

Tag : , ,
Share on Facebook
Share on Twitter
Share on Google+
Tags :

Related : C# Program to Print different Shapes | Triangle | half triangle

0 komentar:

Posting Komentar