Run Code
|
API
|
Code Wall
|
Users
|
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
Please
log in
to post a comment.
HashItUp
Sum Matrix Column
Error
123
Finonacci Series
Kalyan IP range check
static
SortRank
problem
Plt-D v.0.8.4
Please log in to post a comment.