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

 

frew@mclean.com unit3stringdr > howLong
prev  |  next  |  chance

Given a String, return a String of the form: "(String) is 6 letters long."


howLong("Frew") → "Frew is 4 letters long."
howLong("McLean") → "McLean is 6 letters long."
howLong("Computer Science") → "Computer Science is 16 letters long."

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

public String howLong(String str) { }

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

Copyright Nick Parlante 2017 - privacy