Technology News, Micromax, Mobiles Flashing Software, Flash Tool, Pokemon GO Apk, Income Online, Moto G4 Plus, Sony PC, Latest Version, samsung note, Huawei Smartphone

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 - technology is getting more advanced every day .. if you want to know the progress that happened please visit this blog Technology News because it will always update the latest information, now we will discuss first about C# Program to display the different series output on the screen hopefully this information can answer the questions you submit to google, ok please see:

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




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

hopefully information C# Program to display the different series output on the screen can benefit you in getting the latest information about technology,

you just read the article entitled C# Program to display the different series output on the screen if the article feel useful for you please bookmark or share by using link https://micromyaw.blogspot.com/2013/12/c-program-to-display-different-series.html and thank you.

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

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

0 comments:

Post a Comment