public static void Main()
string name, st_address, state_zip, PO, date;
Console.WriteLine("Please input the name of your company: ");
name = Console.ReadLine();
Console.WriteLine("Please input the street address of your company: ");
st_address = Console.ReadLine();
Console.WriteLine("Please input the state and zip code of your company: ");
state_zip = Console.ReadLine();
Console.WriteLine("Please input the PO number: ");
Console.WriteLine("Please input the date: ");
date = Console.ReadLine();
double amount_of_buses, amount_of_AC_units, bus_cost, AC_cost, Tax_rate;
Console.WriteLine("Please input how many L034568 Diesel buses ordered: ");
amount_of_buses = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Please input how many AC units ordered: ");
amount_of_AC_units = Convert.ToInt32(Console.ReadLine());
bus_cost = 90000 * amount_of_buses;
AC_cost = 10000 * amount_of_AC_units;
double price_b4_taxes, howmuchtax, aftertax, total;
price_b4_taxes = bus_cost + AC_cost;
howmuchtax = price_b4_taxes * Tax_rate;
aftertax = howmuchtax + price_b4_taxes;
double price_b4_taxes10, discount10, amount_to_disc10, after_TaxandDisc10, afterdisc10, howmuchtax10, aftertax10, total10;
price_b4_taxes10 = bus_cost + AC_cost;
amount_to_disc10 = discount10 * price_b4_taxes10;
afterdisc10 = price_b4_taxes10 - amount_to_disc10;
howmuchtax10 = afterdisc10 * Tax_rate;
aftertax10 = howmuchtax10 + afterdisc10;
after_TaxandDisc10 = aftertax10;
total10 = after_TaxandDisc10;
double price_b4_taxes15, discount15, amount_to_disc15, after_TaxandDisc15, afterdisc15, howmuchtax15, aftertax15, total15;
price_b4_taxes15 = bus_cost + AC_cost;
amount_to_disc15 = discount15 * price_b4_taxes15;
afterdisc15 = price_b4_taxes15 - amount_to_disc15;
howmuchtax15 = afterdisc15 * Tax_rate;
aftertax15 = howmuchtax15 + afterdisc15;
after_TaxandDisc15 = aftertax15;
total15 = after_TaxandDisc15;
double price_b4_taxes20, discount20, amount_to_disc20, after_TaxandDisc20, afterdisc20, howmuchtax20, aftertax20, total20;
price_b4_taxes20 = bus_cost + AC_cost;
amount_to_disc20 = discount20 * price_b4_taxes20;
afterdisc20 = price_b4_taxes20 - amount_to_disc20;
howmuchtax20 = afterdisc20 * Tax_rate;
aftertax20 = howmuchtax20 + afterdisc20;
after_TaxandDisc20 = aftertax20;
total20 = after_TaxandDisc20;
double price_b4_taxes30, discount30, amount_to_disc30, after_TaxandDisc30, afterdisc30, howmuchtax30, aftertax30, total30;
price_b4_taxes30 = bus_cost + AC_cost;
amount_to_disc30 = discount30 * price_b4_taxes30;
afterdisc30 = price_b4_taxes30 - amount_to_disc30;
howmuchtax30 = afterdisc30 * Tax_rate;
aftertax30 = howmuchtax30 + afterdisc30;
after_TaxandDisc30 = aftertax30;
total30 = after_TaxandDisc30;
double price_b4_taxes50, discount50, amount_to_disc50, after_TaxandDisc50, afterdisc50, howmuchtax50, aftertax50, total50;
price_b4_taxes50 = bus_cost + AC_cost;
amount_to_disc50 = discount50 * price_b4_taxes50;
afterdisc50 = price_b4_taxes50 - amount_to_disc50;
howmuchtax50 = afterdisc50 * Tax_rate;
aftertax50 = howmuchtax50 + afterdisc50;
after_TaxandDisc50 = aftertax50;
total50 = after_TaxandDisc50;
double price_b4_taxes70, discount70, amount_to_disc70, after_TaxandDisc70, afterdisc70, howmuchtax70, aftertax70, total70;
price_b4_taxes70 = bus_cost + AC_cost;
amount_to_disc70 = discount70 * price_b4_taxes70;
afterdisc70 = price_b4_taxes70 - amount_to_disc70;
howmuchtax70 = afterdisc70 * Tax_rate;
aftertax70 = howmuchtax70 + afterdisc70;
after_TaxandDisc70 = aftertax70;
total70 = after_TaxandDisc70;
double price_b4_taxes100, discount100, amount_to_disc100, after_TaxandDisc100, afterdisc100, howmuchtax100, aftertax100, total100;
price_b4_taxes100 = bus_cost + AC_cost;
amount_to_disc100 = discount100 * price_b4_taxes100;
afterdisc100 = price_b4_taxes100 - amount_to_disc100;
howmuchtax100 = afterdisc100 * Tax_rate;
aftertax100 = howmuchtax100 + afterdisc100;
after_TaxandDisc100 = aftertax100;
total100 = after_TaxandDisc100;
double price_b4_taxes130, discount130, amount_to_disc130, after_TaxandDisc130, afterdisc130, howmuchtax130, aftertax130, total130;
price_b4_taxes130 = bus_cost + AC_cost;
amount_to_disc130 = discount130 * price_b4_taxes130;
afterdisc130 = price_b4_taxes130 - amount_to_disc130;
howmuchtax130 = afterdisc130 * Tax_rate;
aftertax130 = howmuchtax130 + afterdisc130;
after_TaxandDisc130 = aftertax130;
total130 = after_TaxandDisc130;
double price_b4_taxes160, discount160, amount_to_disc160, after_TaxandDisc160, afterdisc160, howmuchtax160, aftertax160, total160;
price_b4_taxes160 = bus_cost + AC_cost;
amount_to_disc160 = discount160 * price_b4_taxes160;
afterdisc160 = price_b4_taxes160 - amount_to_disc160;
howmuchtax160 = afterdisc160 * Tax_rate;
aftertax160 = howmuchtax160 + afterdisc160;
after_TaxandDisc160 = aftertax160;
total160 = after_TaxandDisc160;
double price_b4_taxes161, discount161, amount_to_disc161, after_TaxandDisc161, afterdisc161, howmuchtax161, aftertax161, total161;
price_b4_taxes161 = bus_cost + AC_cost;
amount_to_disc161 = discount161 * price_b4_taxes161;
afterdisc161 = price_b4_taxes161 - amount_to_disc161;
howmuchtax161 = afterdisc161 * Tax_rate;
aftertax161 = howmuchtax161 + afterdisc161;
after_TaxandDisc161 = aftertax161;
total161 = after_TaxandDisc161;
Console.WriteLine("=======================================================");
Console.WriteLine("{0}", name);
Console.WriteLine("{0}", st_address);
Console.WriteLine("{0}", state_zip);
Console.WriteLine("{0}", PO);
Console.WriteLine("{0}", date);
Console.WriteLine("Price before taxes: ${0:f2}",price_b4_taxes);
Console.WriteLine("Discount: $0.00");
Console.WriteLine("Tax: ${0:f2}",howmuchtax);
Console.WriteLine("The final price: ${0:f2}",total);
Console.WriteLine("=======================================================");
Console.WriteLine("=======================================================");
Console.WriteLine("{0}", name);
Console.WriteLine("{0}", st_address);
Console.WriteLine("{0}", state_zip);
Console.WriteLine("{0}", PO);
Console.WriteLine("{0}", date);
Console.WriteLine("Price before taxes: ${0:f2}", price_b4_taxes10);
Console.WriteLine("Discount: ${0:f2}",discount10);
Console.WriteLine("Tax: ${0:f2}", howmuchtax10);
Console.WriteLine("The final price: ${0:f2}", total10);
Console.WriteLine("=======================================================");
Console.WriteLine("=======================================================");
Console.WriteLine("{0}", name);
Console.WriteLine("{0}", st_address);
Console.WriteLine("{0}", state_zip);
Console.WriteLine("{0}", PO);
Console.WriteLine("{0}", date);
Console.WriteLine("Price before taxes: ${0:f2}", price_b4_taxes15);
Console.WriteLine("Discount: ${0:f2}", discount15);
Console.WriteLine("Tax: ${0:f2}", howmuchtax15);
Console.WriteLine("The final price: ${0:f2}", total15);
Console.WriteLine("=======================================================");
Console.WriteLine("=======================================================");
Console.WriteLine("{0}", name);
Console.WriteLine("{0}", st_address);
Console.WriteLine("{0}", state_zip);
Console.WriteLine("{0}", PO);
Console.WriteLine("{0}", date);
Console.WriteLine("Price before taxes: ${0:f2}", price_b4_taxes20);
Console.WriteLine("Discount: ${0:f2}", discount20);
Console.WriteLine("Tax: ${0:f2}", howmuchtax20);
Console.WriteLine("The final price: ${0:f2}", total20);
Console.WriteLine("=======================================================");
Console.WriteLine("=======================================================");
Console.WriteLine("{0}", name);
Console.WriteLine("{0}", st_address);
Console.WriteLine("{0}", state_zip);
Console.WriteLine("{0}", PO);
Console.WriteLine("{0}", date);
Console.WriteLine("Price before taxes: ${0:f2}", price_b4_taxes30);
Console.WriteLine("Discount: ${0:f2}", discount30);
Console.WriteLine("Tax: ${0:f2}", howmuchtax30);
Console.WriteLine("The final price: ${0:f2}", total30);
Console.WriteLine("=======================================================");
Console.WriteLine("=======================================================");
Console.WriteLine("{0}", name);
Console.WriteLine("{0}", st_address);
Console.WriteLine("{0}", state_zip);
Console.WriteLine("{0}", PO);
Console.WriteLine("{0}", date);
Console.WriteLine("Price before taxes: ${0:f2}", price_b4_taxes50);
Console.WriteLine("Discount: ${0:f2}", discount50);
Console.WriteLine("Tax: ${0:f2}", howmuchtax50);
Console.WriteLine("The final price: ${0:f2}", total50);
Console.WriteLine("=======================================================");
Console.WriteLine("=======================================================");
Console.WriteLine("{0}", name);
Console.WriteLine("{0}", st_address);
Console.WriteLine("{0}", state_zip);
Console.WriteLine("{0}", PO);
Console.WriteLine("{0}", date);
Console.WriteLine("Price before taxes: ${0:f2}", price_b4_taxes70);
Console.WriteLine("Discount: ${0:f2}", discount70);
Console.WriteLine("Tax: ${0:f2}", howmuchtax70);
Console.WriteLine("The final price: ${0:f2}", total70);
Console.WriteLine("=======================================================");
Console.WriteLine("=======================================================");
Console.WriteLine("{0}", name);
Console.WriteLine("{0}", st_address);
Console.WriteLine("{0}", state_zip);
Console.WriteLine("{0}", PO);
Console.WriteLine("{0}", date);
Console.WriteLine("Price before taxes: ${0:f2}", price_b4_taxes100);
Console.WriteLine("Discount: ${0:f2}", discount100);
Console.WriteLine("Tax: ${0:f2}", howmuchtax100);
Console.WriteLine("The final price: ${0:f2}", total100);
Console.WriteLine("=======================================================");
Console.WriteLine("=======================================================");
Console.WriteLine("{0}", name);
Console.WriteLine("{0}", st_address);
Console.WriteLine("{0}", state_zip);
Console.WriteLine("{0}", PO);
Console.WriteLine("{0}", date);
Console.WriteLine("Price before taxes: ${0:f2}", price_b4_taxes130);
Console.WriteLine("Discount: ${0:f2}", discount130);
Console.WriteLine("Tax: ${0:f2}", howmuchtax130);
Console.WriteLine("The final price: ${0:f2}", total130);
Console.WriteLine("=======================================================");
Console.WriteLine("=======================================================");
Console.WriteLine("{0}", name);
Console.WriteLine("{0}", st_address);
Console.WriteLine("{0}", state_zip);
Console.WriteLine("{0}", PO);
Console.WriteLine("{0}", date);
Console.WriteLine("Price before taxes: ${0:f2}", price_b4_taxes160);
Console.WriteLine("Discount: ${0:f2}", discount160);
Console.WriteLine("Tax: ${0:f2}", howmuchtax160);
Console.WriteLine("The final price: ${0:f2}", total160);
Console.WriteLine("=======================================================");
Console.WriteLine("=======================================================");
Console.WriteLine("{0}", name);
Console.WriteLine("{0}", st_address);
Console.WriteLine("{0}", state_zip);
Console.WriteLine("{0}", PO);
Console.WriteLine("{0}", date);
Console.WriteLine("Price before taxes: ${0:f2}", price_b4_taxes161);
Console.WriteLine("Discount: ${0:f2}", discount161);
Console.WriteLine("Tax: ${0:f2}", howmuchtax161);
Console.WriteLine("The final price: ${0:f2}", total161);
Console.WriteLine("=======================================================");