0 LIKES LikeUnLike
1.Demo : David is working on an application where he needs to accept the size of an array and its values. He needs to identify the largest and smallest number in the array and based on that he needs to display the result.2:Demo: David is working on a project where he needs to accept the total number of array elements and values from the user. He also needs to arrange the array elements in ascending order, and display the result. 3:Predict the output of the following program: using System; namespace Square_Number { class CalculateSquare { int number; public void Square(int number) { Console.WriteLine(number); number *= number; Console.WriteLine(number); } CalculateSquare() { number = 10; Square(number); } static void Main(string[] args) { CalculateSquare cal = new CalculateSquare(); Console.ReadLine(); } } }
Tags: C#, language
Latest activity: 1 year, 9 month(s) ago. This question has been viewed 219 times and has 0 answers.