Ask a New Question

Question

Write a VB.NET program code to find second largest element in an array.
5 years ago

Answers

oobleck
You can start with something like this, which finds the largest element.
Just keep track of two elements, rather than just one.

https://stackoverflow.com/questions/37789475/fetch-the-maximum-value-from-an-array
5 years ago

Related Questions

HOW WOULD I WRITE A CODE OF ETHICS FOR MY FICTIONAL COMPANY? PLEASE HELP write a program C++ program and Use a recursive function that finds the n-th term using the followin... code for a program to display a payroll in C++ to calculate the salary and bonus % show the name, a... how do you write a code that prompts the user for data points that are then put into an array Develop a program pseudo code to read the names and scores for ten students,it should calculate and... Can u write code write a code that will allow a user to enter the following details: 1 basic salary 2 house allowan... Write the code Why is the first code you write in any new language "Hello World"? write code to use WPF to allow a user to go to a lecturer dashboard and submit a claim, in order to...
Ask a New Question
Archives Contact Us Privacy Policy Terms of Use