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,
C# Program to display the different series output on the screen
C# Program to display the different series output on the screen
Program Statement:
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:
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();
}
enough already information about C# Program to display the different series output on the screen
hopefully the information C# Program to display the different series output on the screen can give you answers to all your questions ayang is conveyed to google.
finished already information about C# Program to display the different series output on the screen if you mers this information useful for you and want to bookmark or share please use link https://19miracles.blogspot.com/2013/12/c-program-to-display-different-series.html?m=1
Tag : Csharp, programs,


0 komentar:
Posting Komentar