public static void Main()
Console.WriteLine("enter the total price of the items");
Double price = Convert.ToDouble(Console.ReadLine());
Console.WriteLine("enter the amount of the items");
int amount = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("you have no discount");
Console.WriteLine("the price is " + price*amount);
else if (amount<=100 && amount<10)
newprice = (price/100) * 95;
Console.WriteLine("the price is " + newprice + " due to a discount of " + discount);
newprice = (price/100) * 90;
Console.WriteLine("the price is " + newprice + " due to a discount of " + discount);