C# Program to display the different series output on the screen - welcome to the blog
Gadget Blog we provide information about the latest gadgets, which we provide for you for a while, now we discuss about C# Program to display the different series output on the screen we have collected a lot of information about this article from many reliable sources, so 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();
}
so much information about C# Program to display the different series output on the screen
just so much information about C# Program to display the different series output on the screen, hopefully can provide benefits for you,
you just read the information about C# Program to display the different series output on the screen if this article feel useful for you please bookmark or share again with link https://everythingnbeyondblog.blogspot.com/2013/12/c-program-to-display-different-series.html thanks.
Tag :
Csharp,
programs,
0 komentar:
Posting Komentar