using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;namespace PylesNicholasAssign1{    class Program    {        static void Main(string args)        {            //Declaring Variables            int number1;            int number2;            int number3;            double number01;            double number02;            double number03;                       //Getting the user’s input            Console.WriteLine(“Please enter 3 integers and 3 doubles! “);            Console.WriteLine(“Please enter your first integer: “);            number1 = Convert.ToInt32(Console.ReadLine());            Console.WriteLine(“Please enter your second integer: “);            number2 = Convert.ToInt32(Console.ReadLine());                        Console.WriteLine(“Please enter your third integer: “);            number3 = Convert.ToInt32(Console.ReadLine());            Console.WriteLine(“Please enter your first double: “);            number01 = Convert.ToDouble(Console.ReadLine());            Console.WriteLine(“Please enter your second double: “);            number02 = Convert.ToDouble(Console.ReadLine());            Console.WriteLine(“Please enter your third double: “);            number03 = Convert.ToDouble(Console.ReadLine());            //Addition Property            double sum;            sum = number1 + number2 + number3 + number01 + number02 +number03;            //Division Property            double average;            average = sum / 6;            // Mulitiplication Property            double product;            product = number1 * number2 * number3 * number01 * number02 * number03;            //Determining the Minimum Value            double minimum;            minimum = number1;            if (number2 < minimum) minimum = number2;            if (number3 < minimum) minimum = number3;            if (number01 < minimum) minimum = number01;            if (number02 < minimum) minimum = number02;            if (number03 < minimum) minimum = number03;            //Determining the Maximum Value            double maximum;            maximum = number1;            if (number2 > maximum) maximum = number2;            if (number3 > maximum) maximum = number3;            if (number01 > maximum) maximum = number01;            if (number02 > maximum) maximum = number02;            if (number03 > maximum) maximum = number03;            // Output of results            Console.WriteLine(“The Sum is {0}”, sum);            Console.WriteLine(“The Average is {0}”, average);            Console.WriteLine(“The Product is {0}”, product);            Console.WriteLine(“The Minimum value is {0}”, minimum);            Console.WriteLine(“The Maximum value is {0}”, maximum);            Console.Write(“Please press any key to exit. “);            Console.ReadLine();        }    }}

x

Hi!
I'm Rita!

Would you like to get a custom essay? How about receiving a customized one?

Check it out