Stephanie News, Dell USB Drivers, Android Devices, Charging, Apple, Nokia Flash File, Samsung Galaxy

Sabtu, 28 Desember 2013

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

C# Program to display the different series output on the screen - with the rapid development of today's technology we must enrich our knowledge of gadgets, because every day there are many new gadgets that are made with advantages, in blogs Stephanie News we will meriview many gadgets from various brands ranging from the specification and its price .. Now we will discuss first about C# Program to display the different series output on the screen please see our explanation 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();
}




we feel the information C# Program to display the different series output on the screen that's all.

hopefully the information C# Program to display the different series output on the screen that we have conveyed can provide benefits for you and all visitors of this blog, if any criticism and suggestions please comment.

you just read C# Program to display the different series output on the screen if this article is considered useful and you want to bookmark and share it please use the link https://stephaniefulke.blogspot.com/2013/12/c-program-to-display-different-series.html and what if you want other information look for another page in this blog.

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

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

0 komentar:

Posting Komentar