Write a visual logic program which accepts a series of num


Write a Visual Logic program which accepts a series of numbers, until the first negative value is entered. The maximum number of non-negative input values is 250, although the user could enter fewer values than 250. Each non-negative input is to be placed into the next available element of an array 250 elements long. Assume that the user will enter at least two non-negative input values. When the terminating negative number is entered, output the count of non-negative inputs. Then output the position within the input array where the two highest values are found.

Here are some data sets, which your program must be capable of processing.



Example 1

Entered numbers: 5, 9, 25, 44, 9, 0, 35, 2, 7, 0, 7, 44, 19, -8
Output: Count is 13. The positions of the two highest values: 3 and 11.

Request for Solution File

Ask an Expert for Answer!!
Visual Basic Programming: Write a visual logic program which accepts a series of num
Reference No:- TGS0122780

Expected delivery within 24 Hours