using System;
namespace Subtraction
{
class Program
{
static void Main(string[] args)
{
int first, second, subtraction;
Console.Write("Enter The Subtraction Value=");
first = Convert.ToInt32(Console.ReadLine());
second = Convert.ToInt32(Console.ReadLine());
subtraction = first - second;
Console.WriteLine("Subtraction Value="+subtraction);
}
}
}
namespace Subtraction
{
class Program
{
static void Main(string[] args)
{
int first, second, subtraction;
Console.Write("Enter The Subtraction Value=");
first = Convert.ToInt32(Console.ReadLine());
second = Convert.ToInt32(Console.ReadLine());
subtraction = first - second;
Console.WriteLine("Subtraction Value="+subtraction);
}
}
}
Output:-
Enter The Subtration Value=10
5
Subtraction Value=5
Previous Next
No comments:
Post a Comment