Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
c# bakllava dilimi
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { public static void Main(string[] args) { tersUcgenGoster(20); } public static void tersUcgenGoster(int boyut) { for (int i = 0; i <= boyut; i++) { Console.Write(" "); for (int j = i; j < boyut; j++) { Console.Write(" "); } for (int j = 0; j < 2 * i - 1; j++) { Console.Write("*"); } Console.WriteLine(); } for (int i = boyut; i >= 0; i--) { Console.Write(" "); for (int j = i; j < boyut + 1; j++) { Console.Write(" "); } for (int j = 0; j < 2 * i - 3; j++) { Console.Write("*"); } Console.WriteLine(); } } } }
run
|
edit
|
history
|
help
0
generics one more doubt-stack overflow exception
dice roll
Byte array to base 64 string
Проверка на одинаковые цифры в пятизначном числе.
2.2 gz
Date Conversion
CancellationToken Struct dot net
p1
character occurrence in the given string
Roman Numbers, Sorting through IComparer