Okay well I got a zero on the assignment so it doesn't matter, but I still would like to know where I have a mistake. I keep getting an error that says
Error 1 Cannot implicitly convert type 'string' to 'double' L:\CIS170B\Week 2\Devry Nut Shop\Devry Nut Shop\Program.cs 50 29 Devry Nut Shop
I can't figure out what it wants, because it is not defined as a string. They are declared as doubles.
Console.Write("Enter customers name: ");
custName = Convert.ToString(Console.ReadLine());
Console.WriteLine("\n");
Console.Write("How many pounds of Cashews? ");
poundsCashews = Console.ReadLine();
totalCashews = Convert.ToInt32(poundsCashews);
Console.Write("How many pounds of Macadamia? ");
poundsMacadamia = Console.ReadLine();
totalMacadamia = Convert.ToInt32(poundsMacadamia);
Console.Write("How many pounds of In-shell? ");
poundsInShell = Console.ReadLine();
totalInShell = Convert.ToInt32(poundsInShell);
Console.Write("How many pounds of Walnuts? ");
poundsWalnuts = Console.ReadLine();
totalWalnuts = Convert.ToInt32(poundsWalnuts);