C# Program to display the different series output on the screen

C# Program to display the different series output on the screen - we say welcome to you who have been searching for information via search engines such as Google, in a blog Tech Gallery, now we will discuss information about the C# Program to display the different series output on the screen, we have been looking for a lot of information from a trusted and collect it in this blog, so you get the information complete and easy to understand, please read through:

Article Csharp, Article programs,

You can also see our article on:


C# Program to display the different series output on the screen

Program Statement:
Write a program which display the following output on the screen.
1 2 3 4 5
1 4 9 16 25
1 8 27 64 125

Solution:
 static void Main(string[] args)
{
for (int i = 1; i <= 5; i++)
Console.Write(i+" ");

Console.WriteLine();

for (int i = 1; i <= 5; i++)
Console.Write(i * i+" ");

Console.WriteLine();

for (int i = 1; i <= 5; i++)
Console.Write(i * i * i+" ");

Console.ReadLine();
}



Information about the C# Program to display the different series output on the screen we have conveyed

A few of our information about the C# Program to display the different series output on the screen, I hope you can exploit carefully

You have finished reading C# Program to display the different series output on the screen and many articles about Tech Gallery in our blog this, please read it. and url link of this article is https://littlebitjohnny.blogspot.com/2013/12/c-program-to-display-different-series.html Hopefully discussion articles on provide more knowledge about the world of new tech gadgets.

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

Related : C# Program to display the different series output on the screen

1 comments: