public static void Main()
string date, accountnum, fn, ln;
date = DateTime.UtcNow.ToString("MM-dd-yyyy");
Console.Write("Input client's 5 digit account number: ");
accountnum = Console.ReadLine();
Console.Write("Input the client's first name: ");
Console.Write("Input the client's last name: ");
double cornlbs_to_buy, cornprice, wheatlbs_to_buy, wheatprice, soybeanlbs_to_buy, soybeanprice, totalweight, eighttax, fourtax, twotax;
Console.Write("Input the amount of pounds of corn the client wants to buy: ");
cornlbs_to_buy = Convert.ToInt32(Console.ReadLine());
Console.Write("Input the amount of pounds of wheat the client wants to buy: ");
wheatlbs_to_buy = Convert.ToInt32(Console.ReadLine());
Console.Write("Input the amount of pounds of soybean the client wants to buy: ");
soybeanlbs_to_buy = Convert.ToInt32(Console.ReadLine());
totalweight = cornlbs_to_buy + wheatlbs_to_buy + soybeanlbs_to_buy;
cornprice = cornlbs_to_buy * 3.70;
wheatprice = wheatlbs_to_buy * 1.80;
soybeanprice = soybeanlbs_to_buy * 2.80;
double soybeanandwheatdisc, cornandwheatdisc, amount_to_soybeanandwheatdisc, total_owedtwotaxtendisc, amount_to_cornandwheatdisc, amount_to_eighttax, amount_to_fourtax, amount_to_twotax, total_before_tax, total_owedeighttax, total_owedfourtax, total_owedtwotax, total_owedfourtaxtwentydisc, total_owedtwotaxtwentydisc;
soybeanandwheatdisc = 0.20;
total_before_tax = cornprice + wheatprice + soybeanprice;
amount_to_eighttax = eighttax * total_before_tax;
amount_to_fourtax = fourtax * total_before_tax;
amount_to_twotax = twotax * total_before_tax;
amount_to_soybeanandwheatdisc = soybeanandwheatdisc * total_before_tax;
amount_to_cornandwheatdisc = cornandwheatdisc * total_before_tax;
total_owedeighttax = total_before_tax + amount_to_eighttax;
total_owedfourtax = total_before_tax + amount_to_fourtax;
total_owedtwotax = total_before_tax + amount_to_twotax;
total_owedfourtaxtwentydisc = (total_before_tax + amount_to_fourtax) - amount_to_soybeanandwheatdisc;
total_owedtwotaxtwentydisc = (total_before_tax + amount_to_twotax) - amount_to_soybeanandwheatdisc;
total_owedtwotaxtendisc = (total_before_tax + amount_to_twotax) - amount_to_cornandwheatdisc;
double corn_and_wheat, soybean_and_wheat;
corn_and_wheat = cornlbs_to_buy + wheatlbs_to_buy;
soybean_and_wheat = soybeanlbs_to_buy + wheatlbs_to_buy;
Console.WriteLine("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
Console.WriteLine("PRICE LIST: ");
Console.WriteLine("Corn .........................$ 3.70 PER POUND");
Console.WriteLine("Wheat ........................$ 1.80 PER POUND");
Console.WriteLine("Soybean ......................$ 2.80 PER POUND");
Console.WriteLine("Current date .................................... {0}", date);
Console.WriteLine("Client's name ................................... {0}, {1}", ln, fn);
Console.WriteLine("Client's account number ......................... {0}", accountnum);
Console.WriteLine("Amount of corn purchased in weight .............. {0}lbs", cornlbs_to_buy);
Console.WriteLine("Amount of wheat purchased in weight ............. {0}lbs", wheatlbs_to_buy);
Console.WriteLine("Amount of soybean purchased in weight ........... {0}lbs", soybeanlbs_to_buy);
Console.WriteLine("The dollar amount of corn purchased ............$ {0:f2}", cornprice);
Console.WriteLine("The dollar amount of wheat purchased ...........$ {0:f2}", wheatprice);
Console.WriteLine("The dollar amount of soybean purchased .........$ {0:f2}", soybeanprice);
Console.WriteLine("What % taxed was levied ......................... 8%");
Console.WriteLine("What dollar amount of taxed was Levied .........$ {0:f2}", amount_to_eighttax);
Console.WriteLine("What was the total amount of discount given ....$ 0.00");
Console.WriteLine("Total amount the client owes ...................$ {0:f2}", total_owedeighttax);
Console.WriteLine("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
Console.WriteLine("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
Console.WriteLine("PRICE LIST: ");
Console.WriteLine("Corn .........................$ 3.70 PER POUND");
Console.WriteLine("Wheat ........................$ 1.80 PER POUND");
Console.WriteLine("Soybean ......................$ 2.80 PER POUND");
Console.WriteLine("Current date .................................... {0}", date);
Console.WriteLine("Client's name ................................... {0}, {1}", ln, fn);
Console.WriteLine("Client's account number ......................... {0}", accountnum);
Console.WriteLine("Amount of corn purchased in weight .............. {0}lbs", cornlbs_to_buy);
Console.WriteLine("Amount of wheat purchased in weight ............. {0}lbs", wheatlbs_to_buy);
Console.WriteLine("Amount of soybean purchased in weight ........... {0}lbs", soybeanlbs_to_buy);
Console.WriteLine("The dollar amount of corn purchased ............$ {0:f2}", cornprice);
Console.WriteLine("The dollar amount of wheat purchased ...........$ {0:f2}", wheatprice);
Console.WriteLine("The dollar amount of soybean purchased .........$ {0:f2}", soybeanprice);
Console.WriteLine("What % taxed was levied ......................... 4%");
Console.WriteLine("What dollar amount of taxed was Levied .........$ {0:f2}", amount_to_fourtax);
Console.WriteLine("What was the total amount of discount given ....$ 0.00");
Console.WriteLine("Total amount the client owes ...................$ {0:f2}",total_owedfourtax );
Console.WriteLine("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
(soybean_and_wheat >= 2000 && totalweight >= 2500)
Console.WriteLine("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
Console.WriteLine("PRICE LIST: ");
Console.WriteLine("Corn .........................$ 3.70 PER POUND");
Console.WriteLine("Wheat ........................$ 1.80 PER POUND");
Console.WriteLine("Soybean ......................$ 2.80 PER POUND");
Console.WriteLine("Current date .................................... {0}", date);
Console.WriteLine("Client's name ................................... {0}, {1}", ln, fn);
Console.WriteLine("Client's account number ......................... {0}", accountnum);
Console.WriteLine("Amount of corn purchased in weight .............. {0}lbs", cornlbs_to_buy);
Console.WriteLine("Amount of wheat purchased in weight ............. {0}lbs", wheatlbs_to_buy);
Console.WriteLine("Amount of soybean purchased in weight ........... {0}lbs", soybeanlbs_to_buy);
Console.WriteLine("The dollar amount of corn purchased ............$ {0:f2}", cornprice);
Console.WriteLine("The dollar amount of wheat purchased ...........$ {0:f2}", wheatprice);
Console.WriteLine("The dollar amount of soybean purchased .........$ {0:f2}", soybeanprice);
Console.WriteLine("What % taxed was levied ......................... 2%");
Console.WriteLine("What dollar amount of taxed was Levied .........$ {0:f2}", amount_to_twotax);
Console.WriteLine("What was the total amount of discount given ....$ {0:f2}", amount_to_soybeanandwheatdisc);
Console.WriteLine("Total amount the client owes ...................$ {0:f2}", total_owedtwotaxtwentydisc);
Console.WriteLine("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
(totalweight > 2500 && corn_and_wheat >= 3000)
Console.WriteLine("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
Console.WriteLine("PRICE LIST: ");
Console.WriteLine("Corn .........................$ 3.70 PER POUND");
Console.WriteLine("Wheat ........................$ 1.80 PER POUND");
Console.WriteLine("Soybean ......................$ 2.80 PER POUND");
Console.WriteLine("Current date .................................... {0}", date);
Console.WriteLine("Client's name ................................... {0}, {1}", ln, fn);
Console.WriteLine("Client's account number ......................... {0}", accountnum);
Console.WriteLine("Amount of corn purchased in weight .............. {0}lbs", cornlbs_to_buy);
Console.WriteLine("Amount of wheat purchased in weight ............. {0}lbs", wheatlbs_to_buy);
Console.WriteLine("Amount of soybean purchased in weight ........... {0}lbs", soybeanlbs_to_buy);
Console.WriteLine("The dollar amount of corn purchased ............$ {0:f2}", cornprice);
Console.WriteLine("The dollar amount of wheat purchased ...........$ {0:f2}", wheatprice);
Console.WriteLine("The dollar amount of soybean purchased .........$ {0:f2}", soybeanprice);
Console.WriteLine("What % taxed was levied ......................... 2%");
Console.WriteLine("What dollar amount of taxed was Levied .........$ {0:f2}", amount_to_twotax);
Console.WriteLine("What was the total amount of discount given ....$ {0:f2}", amount_to_cornandwheatdisc);
Console.WriteLine("Total amount the client owes ...................$ {0:f2}", total_owedtwotaxtendisc);
Console.WriteLine("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
Console.WriteLine("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
Console.WriteLine("PRICE LIST: ");
Console.WriteLine("Corn .........................$ 3.70 PER POUND");
Console.WriteLine("Wheat ........................$ 1.80 PER POUND");
Console.WriteLine("Soybean ......................$ 2.80 PER POUND");
Console.WriteLine("Current date .................................... {0}", date);
Console.WriteLine("Client's name ................................... {0}, {1}", ln, fn);
Console.WriteLine("Client's account number ......................... {0}", accountnum);
Console.WriteLine("Amount of corn purchased in weight .............. {0}lbs", cornlbs_to_buy);
Console.WriteLine("Amount of wheat purchased in weight ............. {0}lbs", wheatlbs_to_buy);
Console.WriteLine("Amount of soybean purchased in weight ........... {0}lbs", soybeanlbs_to_buy);
Console.WriteLine("The dollar amount of corn purchased ............$ {0:f2}", cornprice);
Console.WriteLine("The dollar amount of wheat purchased ...........$ {0:f2}", wheatprice);
Console.WriteLine("The dollar amount of soybean purchased .........$ {0:f2}", soybeanprice);
Console.WriteLine("What % taxed was levied ......................... 2%");
Console.WriteLine("What dollar amount of taxed was Levied .........$ {0:f2}", amount_to_twotax);
Console.WriteLine("What was the total amount of discount given ....$ 0.00");
Console.WriteLine("Total amount the client owes ...................$ {0:f2}", total_owedtwotax);
Console.WriteLine("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
(soybean_and_wheat >= 2000 && totalweight <= 2500)
Console.WriteLine("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");
Console.WriteLine("PRICE LIST: ");
Console.WriteLine("Corn .........................$ 3.70 PER POUND");
Console.WriteLine("Wheat ........................$ 1.80 PER POUND");
Console.WriteLine("Soybean ......................$ 2.80 PER POUND");
Console.WriteLine("Current date .................................... {0}", date);
Console.WriteLine("Client's name ................................... {0}, {1}", ln, fn);
Console.WriteLine("Client's account number ......................... {0}", accountnum);
Console.WriteLine("Amount of corn purchased in weight .............. {0}lbs", cornlbs_to_buy);
Console.WriteLine("Amount of wheat purchased in weight ............. {0}lbs", wheatlbs_to_buy);
Console.WriteLine("Amount of soybean purchased in weight ........... {0}lbs", soybeanlbs_to_buy);
Console.WriteLine("The dollar amount of corn purchased ............$ {0:f2}", cornprice);
Console.WriteLine("The dollar amount of wheat purchased ...........$ {0:f2}", wheatprice);
Console.WriteLine("The dollar amount of soybean purchased .........$ {0:f2}", soybeanprice);
Console.WriteLine("What % taxed was levied ......................... 4%");
Console.WriteLine("What dollar amount of taxed was Levied .........$ {0:f2}", amount_to_fourtax);
Console.WriteLine("What was the total amount of discount given ....$ {0:f2}",amount_to_soybeanandwheatdisc);
Console.WriteLine("Total amount the client owes ...................$ {0:f2}", total_owedfourtaxtwentydisc);
Console.WriteLine("+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++");