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
What type of code is found in a code-behind class?
Can any body send me Some Interview Questions of ASP.Net 2.0 or Later to my mail id that is gauravscott@gmail.com
how to implemet online examination in asp.net
Name the asp objects?
Explain the tasks performed by <> tags?
What is http header?
Define a filesystemobject object?
Why asp is called active server?
What is the full name of asp in vb net?
What are the attributes of the tags?
How do I open aspx file on mac?
Define global.asa file?
Can I use com objects from a .net framework program?
Where we get good training and LABS facility In C#.net courses in Hyderabad, I completed the classes in Peers even though im sure in good practice to get right position in jobs please help me who no well in this field?
Explain the difference between the value-type variables and reference-type variables in terms of garbage collection?