๐ WAYPOINT LESSON
Checkpoint โ Strings
โญ beginnerโณ 20 min read๐ Lesson 25 of 85
Initials and a password strength probe: slicing, classification, and case discipline in one program.
Checkpoint: identity utilities
Task: implement two methods:
static string Initials(string fullName)โ the first letter of each whitespace-separated word, uppercased, joined."nguyen van an"โ"NVA". Null/empty/blank yields"".static int PasswordScore(string pw)โ score: 1 if length โฅ 8, plus 1 if it contains any digit, plus 1 if it contains any uppercase letter. Null or empty scores 0. So"Abcdefgh1"scores 3;"abcdefgh"scores 1.