TopcoderArchiveVisit Topcoder
Archive
Algorithm problem

CaseChanger

Problem statement, definition, constraints, and public examples.

Problem Statement

Create a class CaseChanger that includes the method convert(String), which
takes a String input and converts each capital letter to lower case, each lower
case letter to capital, and leaves everything else alone. It returns the
converted String.

Definition

Class:
CaseChanger
Method:
convert
Parameters:
String
Returns:
String
Method signature:
String convert(String param0)
(be sure your method is public)

Constraints

    Examples

      No public sample cases were explicitly marked for this problem in the original data.

      Back to all problems