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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What does asp stand for in technology?

501


What is a service application?

518


which is the bet long term & basic to advanced available course for asp.net in hydrabad plz reply me t my email address also thanking you sm.chishty@gmail.com

1355


How do I save an aspx file?

559


Name the control which would you use if you needed to make sure the values in two different controls matched?

511






Explain the difference between client-side script and server-side script?

492


Explain the properties of session object?

496


How do in-process communication work in the common language runtime?

490


What is asp price?

513


Explain the difference between server.transfer and response.redirect?

515


Define an application domain?

541


What is asp what can asp do for you?

513


What is ascx cs?

505


How could u display all of the cookies/cookie values for a user through a Web page in ASP?

1695


How does asp differ from html?

505