Write a C++ program that takes a password input from the user and validates it according to the
following rules:
1. Password must be at least 8 characters long.
2. Password must contain at least one uppercase letter.
3. Password must contain at least one lowercase letter.
4. Password must contain at least one digit.
You have to use exception handling concept to solve the problem