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 |
What is servervariables collection in asp?
What are the differences between asp and asp.net and is asp.net backward compatible to asp?
What is aspx used for?
Write a program in asp to find out the leap year. [Accept the year from the user ]
What does asp stand for?
Define a "virtual directory"?
What is hidden field?
Difference between GET and POST? Which is used when?
Hi, i am looking for join learn real time project on dotnet please tell me which is the best institute now i am staying in a ameerpet. thank u for advance.
How are sessions maintained? A. The browser sends a cookie to the server with each request. B. The browser sends a Querystring variable to the server with each request. C. The browser sends a hidden Form variable to the server with each request. D. The browser sends a long variable to the server in the BODY of each request. E. None of the above.
How do I open aspx files?
1)Declare array with five elements a[]={8,4,6,2,1,10} Print minimum and maximum no from array. 2)Accept values from Textbox and add into Listbox on click ok button. 2)Accept these values store them in cookie collection and show them in next form. Assignment 3 20Marks 1) Display EmpId ,EmpName ,EmpSal usind datagrid view (use sqlerver 2005) 2) Insert Item Id, Item Name, Qty, Rate using ado.net(use sqlerver 2005)