The blog consist sources of object oriented languages.Such as concepts of c++,java,C# .Blog enhances your programming skills from your first step to a known developer.
Search This Blog
Saturday, 7 September 2013
Finding Largest number using C#
Greater between three numbers
using System;
class Greater { public static void Main(String[] args) { int a=2,b=4,c=5,max; max=(a>b)?((a>c)?a:c):((b>c)?b:c); Console.WriteLine("Greater number is:"+max); Console.ReadLine(); } }
No comments:
Post a Comment