Here is the sign-up sheet from the open evening. People typedtheir own names in and it shows. I need to know how manyactual different people signed up.Write your requirements list before you write any code. Input, calculate, output, and anything you had to decide for yourself.
chen, ines the same person as CHEN, INES? Almost certainly. Decide, write it down, and be consistent. Activity 2.18's ToLower() handles capitals.okafor,ravi and Okafor, Ravi are the same signature. Replace(" ", "") hands back a copy with every space removed, the same way ToLower() works.Contains(",") returns true if a string has a comma in it, if that helps. dropped 'chen, ines' (same person as one already kept) dropped 'CHEN, INES' (same person as one already kept) dropped 'okafor,ravi' (same person as one already kept) dropped '' (not a name) dropped '?' (not a name)
Unique people: 3 (from 8 entries, 5 dropped) chen,ines okafor,ravi diaz,nadiaEight entries, three people. The printed names are the cleaned form, all lowercase with no spaces: a decision worth defending. Would you show that to the person who signed up?
Your requirements list and your program file, named cc-clean-the-list.