C# Program to display the different series output on the screen - every day there is always the latest gadget that is born, if we do not update the information then we will be outdated, even though we do not have the gadget but at least we know the information, on the blog
Darwis Techno we are discussing a lot of information from various brands gadgets, now we will discuss first about C# Program to display the different series output on the screen we have gathered information to make this article, please read 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();
}
information 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 can provide benefits for you in providing information about the latest gadgets from various brands,
you just read the article about C# Program to display the different series output on the screen if you intend to bookmark or share this information can use link http://laladarwis.blogspot.com/2013/12/c-program-to-display-different-series.html thank you and do not forget to get back other information
Tag :
Csharp,
programs,
0 komentar:
Post a Comment