Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
checkvalidtraingle
//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 bool checkvalid(int a , int b , int c ) { if (a + b <= c || a + c <= b || b + c <= a) { return true; } else { return false; } } public static void Main(string[] args) { int a = 12 ; int b = 7 ; int c = 5 ; if (checkvalid(a,b,c)) { Console.WriteLine("Valid"); } else { Console.WriteLine("InValid"); } } } }
run
|
edit
|
history
|
help
0
T
Schrikkeljaar
Swap 1
Lazy exception caching
23
Random number generator
learning
Simple StackOverflowException
lj
30272 Program Ex7_2 switch