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
Explain the difference between server.transfer and response.redirect?
Can I use the win32 api from a .net framework program?
What is aspx format?
what is page
Which is better asp or php?
Define file system object object?
Define managed code?
How do I make it so that code runs when the security system is stopping it?
Who invented asp?
What does asp mean in business?
What is asp cookies?
What is msmq? What is n-tier system?
What do I have to do to make my code work with the security system?
What is asp language?
Explain the differences between asp and asp.net and is asp.net backward compatible to asp?