Code:
OUTPUT:-using System; class RelationalOperator { public static void Main() { float a=15.0F, b=20.75F, c=15.0F; Console.WriteLine("a=" +a); Console.WriteLine("b="+b); Console.WriteLine("c="+c); Console.WriteLine("a<b is"+(a<b)); Console.WriteLine("a>b is" +(a>b)); Console.WriteLine("a==c is"+(a==c)); Console.WriteLine("a<=c is"+(a<=c)); Console.WriteLine("a>=b is"+(a>=b)); Console.WriteLine("b!=c is"+(b!=c)); Console.WriteLine("b==a+c is"+(b==a+c)); } }
It is really a great work and the way in which u r sharing the knowledge is excellent.
Thanks for helping me to understand basic concepts. As a beginner in Dot Net programming your post help me a lot.Thanks for your informative article. Dot Net | Dot Net Training