Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Program to print pyramid using numbers
//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 rows = 10; for(int i =1; i <= rows; i++) { for(int space=1; space <= rows-i; space++) { Console.Write(" "); } for(int j=1; j <= i; j++) { Console.Write(j + " "); } for(int space=1; space <= rows-i; space++) { Console.Write(" "); } Console.WriteLine(); } } } }
run
|
edit
|
history
|
help
0
111
Intuit // C# // Lecture_4 // Laba_#2
XmlException in XmlSerializer.Deserialize when XML has \0
Decimal Test2
D112
jdiwnnx cf
string test
oooo
Insert m into n
test