C# Program to print Rectangle $ - we say welcome to you who have been searching for information via search engines such as Google, in a blog
Tech Gallery, now we will discuss information about the C# Program to print Rectangle $, we have been looking for a lot of information from a trusted and collect it in this blog, so you get the information complete and easy to understand, please read through:
Article Csharp,
Article programs,
You can also see our article on:
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();
}
Information about the C# Program to print Rectangle $ we have conveyed
A few of our information about the C# Program to print Rectangle $, I hope you can exploit carefully
You have finished reading
C# Program to print Rectangle $ and many articles about Tech Gallery in our blog this, please read it. and url link of this article is
https://littlebitjohnny.blogspot.com/2013/12/c-program-to-print-rectangle.html Hopefully discussion articles on
provide more knowledge about the world of new tech gadgets.
Tag :
Csharp,
programs,
0 comments:
Post a Comment