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 app opens aspx files?
what is the need of a sealed class when we are having a structure
What are the attributes of the tags? What are their functions?
What is the difference between asp and acp?
Define a filesystemobject object?
Define session object?
How do I open aspx files?
What happens to a html page?
What is msmq? What is n-tier system?
How do you initialize a two-dimensional array that you don't know the dimensions of?
What is asp model?
explain with example redaing contents and writing contents from a file using APS object stream.
Define a cookies collection?
Explain how can you overload a method?
What is asp contentplaceholder?