C# Program to print Rectangle $ - Did you know that every day there is always a new technology that is created? if you want to know please refer to the blog
Gadget News well now we will discuss first about C# Program to print Rectangle $ as you need now, we have compiled this article carefully, so please see to finish.
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();
}
article C# Program to print Rectangle $ has been completed in the discussion
hopefully the information C# Program to print Rectangle $ that we provide can be useful for you to know the development of technology in the present
articles C# Program to print Rectangle $ we have conveyed to you, if feel this information is useful and you want to bookmark or share so that more people who know please use link https://profsmythe.blogspot.com/2013/12/c-program-to-print-rectangle.html.
Tag :
Csharp,
programs,
0 comments:
Post a Comment