Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions 63_CamelCase.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
// For this challenge you will be converting a string into camel case format.
/*
have the function CamelCase(str) take the str parameter being passed and return it in proper camel case format where the first letter of each word is capitalized (excluding the first letter). The string will only contain letters and some combination of delimiter punctuation characters separating each word.
have the function CamelCase(str) take the str parameter being passed and return it in proper camel case format where
the first letter of each word is capitalized (excluding the first letter). The string will only contain letters and some combination
of delimiter punctuation characters separating each word.

For example: if str is "BOB loves-coding" then your program should return the string bobLovesCoding.
*/
Expand Down Expand Up @@ -47,4 +49,4 @@ int main()
cout << CamelCase("cats AND*Dogs-are Awesome") << endl; // catsAndDogsAreAwesome
cout << CamelCase("a b c d-e-f%g") << endl; // aBCDEFG
return 0;
}
}