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
How do in-process and cross-process communication work in the common language runtime?
Is classic asp dead?
when we use ajax in.net
What is asp model?
Define a scripting language?
Why .Net Does not Support multiple inheritance?
How does asp differ from html?
What is the default scripting language in asp?
What is asp in web?
Can we Use VB SCRIPT instead of JAVASCRIPT in Asp.Net...
Which is an advantage of application service providers (asps)?
we are doing Design of Placement Website as our academic project. Home page is in c#.net format and register page is in asp.net format. We met a problem in this.register page is not linked in home page. how i complete my project with out any change..?
Explain the difference between inline and code behind.
What is asp full form?
how to add master page in aspx page that is design before master page....