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

 

andersoniii.edwin@cusd80.com week7 > howManyLowerCase
prev  |  next  |  chance

Write the method called “howManyLowerCase”. This method receives a string and returns an integer of the number of lower case letters in the given string. Given: I Love Java – this would return 6 We will assume the words are separated by just one space... No beginning or ending space characters.


howManyLowerCase("I Love Java") → 6
howManyLowerCase("Math Is For Champions") → 14
howManyLowerCase("What a good day") → 11

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

public int howManyLowerCase( String phrase){ }

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