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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started