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());
float sum=a+b;
float difference=a-b;
float product=a*b;
Console.WriteLine("Sum = {0}", sum);
Console.WriteLine("Difference = {0}", difference);
Console.WriteLine("Product = {0}", product);
Console.ReadLine();
}
}
}
Comments
Leave a comment