1)Declare array with five elements
a[]={8,4,6,2,1,10}
Print minimum and maximum no from array.



1)Declare array with five elements a[]={8,4,6,2,1,10} Print minimum and maximum no from array. ..

Answer / prabhanshu srivastava

int [] a= new int[]{8,4,6,2,1,10};
Console.WriteLine(a.Max());
Console.WriteLine(a.Min());

NOTE: CODES ARE IN C#.


Mail id: developerprabhu@gmail.com

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More ASP Interview Questions

Define clientcertificate collection?

0 Answers  


What is a service application?

0 Answers  


Define microsoft intermediate language (msil)?

0 Answers  


What is the difference between ASP and HTML?

9 Answers  


What are the attributes of the tags?

0 Answers  


Give the comment tags for the following?

0 Answers  


What is the difference between jsp and asp?

0 Answers  


what is meant by ajax

1 Answers  


difference between html and asp?

0 Answers   Polycom,


Define request object?

0 Answers  


different web application and windows application

1 Answers  


Explain how to display images using response object?

0 Answers  


Categories