Menu
Coddy logo textTech

Lowercase Characters

Lesson 17 of 18 in Coddy's Functions in C++: Building Your Own Functions course.

challenge icon

Challenge

Easy

Write a function that returns all lowercase characters from an array of strings.


The function lowercase_char takes an array of strings and returns all the lowercase characters from the strings.

Example:

  • Input: {"Coddy", "TECh", "React"}
  • Output: "o d d y h e a c t"

Try it yourself

#include <iostream>
#include <vector>
#include <string>
using namespace std;

vector<char> getLowercaseCharacters(vector<string> input) {

}

All lessons in Functions in C++: Building Your Own Functions