Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Blog
For - box
//Title of this code //Rextester.Program.Main is the entry point for your code. Don't change it. 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 halfway = 25; for (int a = 1; a != 50; a++) { Console.Write(a); if (a == halfway) { Console.Write(" HALFWAY "); } } for (int b = 1; b != 50; b++) { Console.WriteLine(b); if (b == halfway) { Console.WriteLine(" HALFWAY "); } if (b == 49) { for (int c = 1; c != 50; c++) { Console.Write(c); if (c == halfway) { Console.Write(" HALFWAY "); } } } } } } }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
Problem: on_off
Linq - When using FirstOrDefault, make sure to check for null result
Serialization
test1
Expand Treeview Job Entry
Math 5.83
WindowsFormsApp1
Prime Fibonacci
array reverse
Generics Base class constraints
Please log in to post a comment.