C# Program to display the different series output on the screen - we say welcome to the blog
Tecno Android Phones we provide a lot of latest gadget information that must be very dear for you to miss, now we will discuss first about C# Program to display the different series output on the screen we have collected a lot of information to make this article to complete for you, Please read:
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();
}
Articles about C# Program to display the different series output on the screen finished discussed
We think it is enough information about C# Program to display the different series output on the screen, hopefully the information we give can give benefit for you,
If you feel the information C# Program to display the different series output on the screen that we provide can provide benefits for others please share with link https://southernmatron.blogspot.com/2013/12/c-program-to-display-different-series.html thank you for visiting our blog page and do not forget to visit other pages.
Tag :
Csharp,
programs,
0 komentar:
Post a Comment