[Solved] Lass Classlame Public Exceptionnane Pub Lic Classname String Msg Except Ionname Nsg Lab Qu Q37220464
Lass CLasslame pubLic ExceptionNane pub lic: ClassName(string msg)Except ionName(nsg) Lab Quiz9 Write all code in a single cpp file (main.cpp) Include necessary libraries Create Class PasswordTooShort and DoesNotContainDigt Both the classes should extend from specific exception dass Only ask the username once Can store username and password in string or character array Password Format Minimum Length6 Should contain at least 1 digit Need to have a try catch block Use a while or do-while loop and keep on asking user for the password till he enters it in the correct format strlen to get the length of string You CAN use in-built methods to check for digits Or can use string method at(position) and check for each character in the password Throwing an exceptionthrow ClassName(message to send) Deadline at 6 pm today Section 804 t M OSMU Show transcribed image text Lass CLasslame pubLic ExceptionNane pub lic: ClassName(string msg)Except ionName(nsg) Lab Quiz9 Write all code in a single cpp file (main.cpp) Include necessary libraries Create Class PasswordTooShort and DoesNotContainDigt Both the classes should extend from specific exception dass Only ask the username once Can store username and password in string or character array Password Format Minimum Length6 Should contain at least 1 digit Need to have a try catch block Use a while or do-while loop and keep on asking user for the password till he enters it in the correct format strlen to get the length of string You CAN use in-built methods to check for digits Or can use string method at(position) and check for each character in the password Throwing an exceptionthrow ClassName(message to send) Deadline at 6 pm today Section 804 t M OSMU
Expert Answer
Answer to Lass CLasslame pubLic ExceptionNane pub lic: ClassName(string msg)Except ionName(nsg) Lab Quiz9 Write all code in a sing… . . .
OR

