we provide information about gadget news and price information and specs samsung, huawei, Tecno Price products, Specifications, Features and more information about software from blackberry and android

Saturday, December 28, 2013

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

C# Program to display the different series output on the screen - Did you know that every day there is always a new technology that is created? if you want to know please refer to the blog Gadget News well now we will discuss first about C# Program to display the different series output on the screen as you need now, we have compiled this article carefully, so please see to finish.

Articles : C# Program to display the different series output on the screen
full Link : C# Program to display the different series output on the screen
Article Csharp, Article programs,

You can also see our article on:


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

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();
}




article C# Program to display the different series output on the screen has been completed in the discussion

hopefully the information C# Program to display the different series output on the screen that we provide can be useful for you to know the development of technology in the present

articles C# Program to display the different series output on the screen we have conveyed to you, if feel this information is useful and you want to bookmark or share so that more people who know please use link https://profsmythe.blogspot.com/2013/12/c-program-to-display-different-series.html.

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: