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.



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

hello dear this quadir saif and im doing bca .i want hotel management project in asp.net (with backend sql).on my id (quadir2011@rediffmail.com)

0 Answers  


What is difference between asp and php?

0 Answers  


Give the comment tags for the following?

0 Answers  


Explain the different types of session state management options available with asp.net?

0 Answers  


What is a FileSystemObject object?

1 Answers  


?onStart' and 'onEnd' are events of what object(s)? A. Application only. B. Session only. C. Server only. D. Application and Session only. E. Application, Session, and Server.

1 Answers  


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

0 Answers  


What is the command to display characters to the HTML page?

1 Answers  


In how many ways you can connect to the Database?

2 Answers   TCS,


What is meant by cookies? Explain the main features?

0 Answers  


How add insert options in datagrid control in footer row.

0 Answers   PreludeSys,


What is a variable?

1 Answers  


Categories