Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
Nice Stuff
//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 // 234 // 342 // 423 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 start = 2, end = 7; for(int i = start; i <= end; i++){ for(int j = i, x = start; x <= end; x++){ Console.Write((j > end) ? (j++)-end+(start-1) : j++); } Console.WriteLine(); } int input = 3; for(int i = 0; i <= input; i++){ for(int j = i, x = 0; j <= input; j++){ Console.Write((char)(65+x++)); } Console.WriteLine(); } } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
C# Abstract Syntax Tree Example: Simple Pascal Compiler
filter distinct items from the array without builtin function - Seeni
cs002
binary search tree reversal
4647
Converting a string to byte-array without using an encoding (byte-by-byte)
program
Linq & lambdas
Complex
Cotton Farm
stackse - search stackoverflow differently
Please log in to post a comment.