C# Program to display the different series output on the screen - welcome to our blog that presents a very complete information is
Tech Phone ok now we will discuss the information you are seeking, may I guess if you are looking for information on C# Program to display the different series output on the screen if properly come please continue reading until the end, we also provide other information, do not forget to get around:
informations :
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 C# Program to display the different series output on the screen already been discussed
A few information about the C# Program to display the different series output on the screen, hopefully can provide benefits to all of you.
You're reading an article
C# Program to display the different series output on the screen and this article has a link to
https://mastispotgroup.blogspot.com/2013/12/c-program-to-display-different-series.html to revel book mark. Hopefully this article
could be useful, do not forget to look for information on obtaining the phone tech blog.
Tag :
Csharp,
programs,
0 komentar:
Posting Komentar