[ad_1]

Using a function, read names and numbers into an array from a text file using pointer.
Treat these two arrays as a parallel array and display it in alphabetical order.
Use a recursive binary search to find related integer value and use a sequential search to search a base value and list all strings which have the base value.

Text file with names:

James

Kate

Ann

Bob

Kristina

Christopher

Donald

Maria

Text file with numbers:

156

1367

8

17

457

11

489

10100

Sample Output:

Ann 8

Bob 17

Christopher 11

Donald 489

James 156

Kate 1367

Kristina 457

Maria 10100

  1. Exit.
  2. Search for a number associated with the name
  3. Search for the names with minimum numbers.

Enter a choice: 1

Enter a name: Ann

Ann has a number of 8

  1. Exit.
  2. Search for a number associated with the name
  3. Search for the names with minimum numbers.

Sample Solution

The post Visual Studio appeared first on acestar tutors.

[ad_2]

Source link