class programstatic void mainint myprimenumbers


Class Program

{

static void Main()

{

int[] MyPrimeNumbers = {1,2,3,5,7};

// Use the Count() and Sum() Standard Query Operators to

// compute the count an whole sum simultaeneously

Concole.WriteLine("The sum of first {0} prime number is {1}",

MyPrimeNumbers.Count(), MyPrimeNumbers.Sum());

}

}

 

 

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: class programstatic void mainint myprimenumbers
Reference No:- TGS0221901

Expected delivery within 24 Hours