QBasic Tutorial 21 - Preventing Duplicate Data In The Same Array - QB64

Опубликовано: 03 Май 2026
на канале: SchoolFreeware
10,688
53

http://www.SchoolFreeware.com

By checking the contents of the array, we can prevent duplicate data from entering into the array. This program makes an array of first names. When the user enters a first name the program goes through the array checking each name. If the name is found in the array then the program prompts the user for another name. If the name is not found then the program allows the name to go into the array.