using System;
using System.Collections.Generic;
namespace App
{
class Program
{
static void Main(string[] args)
{
Console.Write("Ente a: ");
float a = float.Parse(Console.ReadLine());
Console.Write("Ente b: ");
float b = float.Parse(Console.ReadLine());
if (a > b) {
Console.WriteLine("a is greater than b.");
}
else if (a < b)
{
Console.WriteLine("b is greater than a.");
}
else {
Console.WriteLine("The numbers a and b are the same.");
}
Console.ReadLine();
}
}
}
Comments
Leave a comment