bluej - Prompting user for password and then checking it in Java -
using code second , third videos, change them prompt user information. on password video (2nd one), once write code prompt user 4 character password, see if can print “wrong, try again” message if entered incorrectly. (hint, use if else).
video 2: ap computer science if statements (comparing strings)
video 3: ap computer science if statements "multiple" boolean expressions
i need finding way prompt user password , saying if right or wrong (can use jscanner).
asking people watch videos not idea , should try upload basic code can guide you. did basic skim , believe need import this
import java.util.scanner
look documentation scanner learn how use it. check if password correct, basic loop goes ( have looked up)
if (password correct){ } else{ message wanted print }
Comments
Post a Comment