Курси /
C# Basics
Challenge: Outputting a Triangle
Modify the code to print a triangle like the following:
main.cs
1. Use three
System.Console.WriteLine
statements. One of them is already in the code.
namespace ConsoleApp
{
internal class Program
{
static void Main(string[] args)
{
System.Console.WriteLine("***");
System.Console.WriteLine("**");
System.Console.WriteLine("*");
}
}
}
Все було зрозуміло?
Секція 1. Розділ 4
Зміст курсу
C# Basics
C# Basics
Challenge: Outputting a Triangle
Modify the code to print a triangle like the following:
main.cs
1. Use three
System.Console.WriteLine
statements. One of them is already in the code.
namespace ConsoleApp
{
internal class Program
{
static void Main(string[] args)
{
System.Console.WriteLine("***");
System.Console.WriteLine("**");
System.Console.WriteLine("*");
}
}
}
Все було зрозуміло?
Секція 1. Розділ 4