Written Response: "My algorithm controls the log-in for the app. This piece of my program is important because the data included in my app needs to be secure. The algorithm makes sure only users with the correct password get in to the app to use it."

Respuesta :

Now, score the following response:

Written Response: 'My algorithm controls the log-in for the app. This piece of my program is important because the data included in my app needs to be secure. The algorithm makes sure only users with the correct password get in to the app to use it.'

The question needs the program code for the written response

Answer:

The program code for the written response is:

OnEvent("logInButton", "click", function( ) {

CurrentPassword = getText("passwordInput") ;

if (currentPassword == password) {

setScreen("homeScreen") ;

} else {

setText ("passwordInput", "") ;

setText ("signText", "passwordIncorrect) ;

}

} ) ;

ACCESS MORE