Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Random IF OR
//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) { Random rnd = new Random(); int Value = rnd.Next(1,10); Random rnd2 = new Random(); int Value2 = rnd.Next(1,10); Console.WriteLine("Value is " + Value +" " + Value2); Console.WriteLine("so outcome is.. "); if ((Value == 1) || (Value2 == 2)) { Console.WriteLine("1111111111111111111111111222222222222"); } if ((Value == 3) || (Value2 == 4)) { Console.WriteLine("33333333333333333334444444444444444"); } if ((Value == 5) || (Value2 == 6)) { Console.WriteLine("5555555555555555555566666666666666"); } if ((Value == 7) || (Value2 == 8)) { Console.WriteLine("777777777777777788888888888888888888"); } if ((Value == 9) || (Value2 == 10)) { Console.WriteLine("99999999999999999910000000000000"); } } } }
run
|
edit
|
history
|
help
0
Properties in Interfaces
Making Anagrams-Final
Max occured character in a string
page 2
last ie
Function Tester
Unirest
Amortizacion de prestamos con el metodo Frances
Kumaran-RegText-CityStatePostalCode Parsing
DSXSAXS