We have to solve only problem 2, I'm sharing Problem 1 only for
reference purpose.
Problem 1. (25 points)
Alice is going to create a notebook including the profile of all
her friends. For each of her friends, she would
like to keep first-name, last-name, cell number, and birthdate
(month and day). At the beginning, she doesn’t
know how many spaces she should reserve for recording her friends,
so she gradually inputs her friends’
information into it.
• Please help...