Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Pascal Triangle
//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) { //Your code goes here //Console.WriteLine("Hello, world!"); Console.WriteLine("Enter no of rows for Pascal Traingle"); var rows = Console.ReadLine()(); for(int i=0; i<rows; i++) { for(int j=0; j<rows-1; j++) { Console.write(" "); } for(int j=0; j<i+1; j++) { } } } } }
run
|
edit
|
history
|
help
0
Testing bitwise stuff
Random number + IF var change2
ParseIpRanges invalid character in string
D16
Teabag
Timer1
any predicate test
Min max elements swap of the array
Order of Ops 4.2
Сортировка массива