/*** C# program to divide two numbers **/
using System;
namespace Program1
{
class except
{
static void Main(string[] args)
{
double a,b,ans;
Console.WriteLine("Enter A Number");
a = Convert.ToDouble(Console.ReadLine());
Console.WriteLine("Enter Another Number");
b = Convert.ToDouble(Console.ReadLine());
ans = a / b;
Console.WriteLine("Answer : " + ans);
}
}
}
Saturday, May 24, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment