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 a cookies collection?

0 Answers  


Explain how is method overriding different from overloading?

0 Answers  


whta are the stored procedure and why they are needed??

2 Answers   IBM,


What is Response Object?

2 Answers  


What is asp model?

0 Answers  


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

1 Answers   Infosys, Syntel,


What app opens aspx files?

0 Answers  


What are the differences between asp and asp.net and is asp.net backward compatible to asp?

0 Answers  


How to display images using response object?

0 Answers  


explain uses of Textstream object in ASP

1 Answers  


Name two properties common in every validation control?

6 Answers   HCL,


What is ClientCertificate collection?

1 Answers  


Categories