public static void Main()
Console.WriteLine("***ORDERING APP***");
String firstItem, secondItem, thirdItem;
double firstPrice, secondPrice, thirdPrice, firstAmount, secondAmount, thirdAmount, totalAmount;
int firstQty, secondQty, thirdQty;
Console.Write("Enter first item: ");
firstItem = (Console.ReadLine());
Console.Write("Enter first price: ");
firstPrice = double.Parse(Console.ReadLine());
Console.Write("Enter first quantity: ");
firstQty = int.Parse(Console.ReadLine());
firstAmount = firstPrice * firstQty;
Console.Write("Enter second item: ");
secondItem = (Console.ReadLine());
Console.Write("Enter second price: ");
secondPrice = double.Parse(Console.ReadLine());
Console.Write("Enter second quantity: ");
secondQty = int.Parse(Console.ReadLine());
secondAmount = secondPrice * secondQty;
Console.Write("Enter third item: ");
thirdItem = (Console.ReadLine());
Console.Write("Enter third price: ");
thirdPrice = double.Parse(Console.ReadLine());
Console.Write("Enter third quantity: ");
thirdQty = int.Parse(Console.ReadLine());
thirdAmount = thirdPrice * thirdQty;
totalAmount = firstAmount + secondAmount + thirdAmount;
Console.WriteLine("Items ordered are: " + firstQty +" "+ firstItem +" "+ secondQty +" "+ secondItem +" "+ thirdQty +" "+ thirdItem);
Console.WriteLine("The total amount is: " + totalAmount);