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
Classes
Fórum ➡ What values have the greatest frequency? ♦
Simple Parallel.For example
Bubble Sort
Fixing Broken Lines
Problem: on_off
Hi
Encode URl C#
Understanding For loop and Return functions
JOE'S C# CODE