Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
pattern2
//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) { int n = 5; for (int row=1 ;row <=n;row++) { int space = n-row; int star = row; for(int col = 1;col <=space ;col++) { Console.Write(" "); } for(int col = 1;col <=star ;col++) { Console.Write("*"); } Console.WriteLine(""); } } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
sortowania przez wstawienie
ColoredTriangleVaoOpenTK4OpenGL31 (Added shaders to Program.cs)
числата от 1 до 20
Reference vs Value types (aka Classes vs Structs) in C#
Sss
sdfgthyjuiujy7htgrf
Delegate Example
c# değişik bir çizim
jjj2
pointoncircle
Please log in to post a comment.