using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Bill
{
class Program
{
static void Main(string[] args)
{
string n;
double q, r,b;
Console.WriteLine("Enter Product name");
n = Console.ReadLine();
Console.WriteLine("Enter Quantity");
q = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Enter Rate");
r = Convert.ToInt32(Console.ReadLine());
b = q * r;
Console.WriteLine("Bill Amount" + b);
Console.ReadLine();
}
}
}
No comments:
Post a Comment