C# Program to print Rectangle $ - 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 print Rectangle $ we have collected a lot of information to make this article to complete for you, Please read:
Articles :
C# Program to print Rectangle $
full Link :
C# Program to print Rectangle $
Article Csharp,
Article programs,
You can also see our article on:
C# Program to print Rectangle $
C# Program to print Rectangle $
Program Statement:
Write a program using for loop which prints the following output on the screen.
$$$$$$$$$$$
$ $
$ $
$ $
$$$$$$$$$$$
Solution:
static void Main(string[] args)
{
for (int i = 1; i <= 11; i++)
Console.Write("$");
Console.WriteLine();
Console.WriteLine();
for (int i = 1; i <= 3; i++)
Console.WriteLine("$ $\n");
for (int i = 1; i <= 11; i++)
Console.Write("$");
Console.ReadLine();
}
Articles about C# Program to print Rectangle $ finished discussed
We think it is enough information about C# Program to print Rectangle $, hopefully the information we give can give benefit for you,
If you feel the information C# Program to print Rectangle $ that we provide can provide benefits for others please share with link https://southernmatron.blogspot.com/2013/12/c-program-to-print-rectangle.html thank you for visiting our blog page and do not forget to visit other pages.
Tag :
Csharp,
programs,
0 komentar:
Post a Comment