id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

abraskin@mbusd.org 2016_student_creations_01 > password
prev  |  next  |  chance

A big fat meanie keylogger named Mike has installed his memin keylogger on Jerry's computer. Mike wants to figure out what Jerry's password is for his email. In order to do this, Big Mike has to create a program that alerts him when Jerry is probably logging into his email.Jerry's email requires him to have exactly 10 characters in his password, including an asterisk(*) and two capital letters(S and K) . Write a method that analyzes a set of 10 characters and tell whether or not it could be Jerry's password.


password("SuperK*lr") → "Possible password."
password("memes") → "Not a possible password."
password("Gre*tJorb") → "Not a possible password."

...Save, Compile, Run (ctrl-enter)

public String password(String set){ }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Difficulty: 100 Post-solution available

Copyright Nick Parlante 2017 - privacy