Exemplo n.º 1
0
        static void Main(string[] args)
        {
            order Todd = new order();
            //int count, cost;
            //string name;

            Console.Write("\nEnter the Count: ");
            Todd.unitCount = Convert.ToDouble(Console.ReadLine());

            Console.Write("\nEnter the Cost: ");
            Todd.unitCost = Convert.ToDouble(Console.ReadLine());

            Console.WriteLine("\nThe Total Cost is: {0}", Todd.totalPrice());

            Console.ReadKey();
        }