Professional Documents
Culture Documents
2. Displays the available vaccines per brand inventory and the main menu where
the user can see the program’s features. The user can enter his/her desired option.
Page 1 of 5
3. Option: [A]Replenishment of Vaccines – Where the user can add number of
vaccines (depending on the chosen brand) for replenishment from the government.
The user enters the assigned [number] of the brand to specifically add the
number of vaccines to that certain brand.
Validation in entering the assigned [number] vaccine brand: Only numbers
between 1 to 5. Other numbers and letters are invalid.
The user enters additional number of vaccines to the chosen assigned
[number] vaccine, where it will automatically add new inventory to the
current inventory.
Validation in entering the number of vaccines: Only positive/whole numbers
from 0 and above. Negative numbers and letters are invalid.
Page 2 of 5
Validation in full name: Only letters, no numbers. It can also let the user
input 1 or more names.
o givenName[30], middleName[15], & lastName[15]
o It calls the isStringValid() function, where it checks the validations of
the names.
Page 3 of 5
Validation in address: Only letters, no numbers.
o barangay[15], city[15], province[15], & country[60] (Since 56 letters is
the longest country name - The United Kingdom of Great Britain and
Northern Ireland)
After:
Page 4 of 5
Page 5 of 5