Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 app opens aspx files?

985


what is the need of a sealed class when we are having a structure

2352


What are the attributes of the tags? What are their functions?

848


What is the difference between asp and acp?

1217


Define a filesystemobject object?

1070


Define session object?

946


How do I open aspx files?

1040


What happens to a html page?

901


What is msmq? What is n-tier system?

1105


How do you initialize a two-dimensional array that you don't know the dimensions of?

1057


What is asp model?

1076


explain with example redaing contents and writing contents from a file using APS object stream.

1996


Define a cookies collection?

935


Explain how can you overload a method?

955


What is asp contentplaceholder?

950