Question: Please answer in Kotlin programming language Create a Kotlin program that asks the user to input a password and then informs the user if the

Please answer in Kotlin programming language

Create a Kotlin program that asks the user to input a password and then informs the user if the provided password is considered poor. You must build this program using specific functions to test the password properties and provide Boolean answers as to whether or not the password passed. You must have the following three functions that have a string input as the only parameter. These functions should return the Boolean value "true" if the password meets the criteria for a bad password and "false" otherwise. A function to test if the password has 8 or fewer characters. A function to test if the password only contains letters. A function to test if the password only contains numbers. Once these functions are created. Create a fourth function that has a string input as the only parameter. This function should use the above mentioned three functions to determine if the password is bad by any of the set standards. This function should accept a string parameter as its only input.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!