```
import<string>
import<iostream>

bool isNumber(char ch) {
    //this function will determine if a character is a number.
    //this allows the function to use an ASCLL value
    if (int i = ch >= '0' && ch <= '9') {
        //If character found is anything from 0-9 operation will return the condition true.
        return true;
    }//ends the statement
    else {
        //else return the condition false
        return false;
    }//ends the statement
}//ends the function

bool isUpperCase(char ch) {
    //this function will determine if a character is upper case.
    //this allows the function to use an ASCLL value
    if (int i = ch >= 'A' && ch <= 'Z') {
        //If character found is anything from A-Z operation will return the condition true.
        return true;
    }//ends the statement
    else {
        return false;
        //else return the condition false
    }//ends the statement
}//ends the function

bool isLowerCase(char ch) {
    //this function will determine if a character is lower case.
    //this allows the function to use an ASCLL value
    if (int i = ch >= 'a' && ch <= 'z') {
        //If character found is anything from a-z operation will return the condition true.
        return true;
    }//ends the statement
    else {
        return false;
        //else return the condition false
    }//ends the statement

}//ends the function

void processData(char text[], int size) {

    int upperCase = 0;
    int lowerCase = 0;
    int numbers = 0;
    int i;
    text[size];
    for (i = 0; i <= text[size]; i++) {

        if (isNumber(text[i]) == true) {
            numbers++;
        }
        else if (isUpperCase(text[i]) == true) {
            upperCase++;
        }
        else if (isUpperCase(text[i]) == true) {
            lowerCase++;
        }

    }
    std::cout << "There are " << upperCase << " uppercase letters in this string." << std::endl;
    std::cout << "There are " << lowerCase << " lowercase letters in this string." <<std::endl;
    std::cout << "There are " << numbers << " numbers in this string." << std::endl;

}

int main()
{

    std::cout << "Enter some text: ";
    std::string s;
    std::getline(std::cin, s);

    int size = sizeof(s);
    char text[sizeof(s)];

    processData(text, size);

    return 0;
}

```

I am trying to create a program that will count the number of numbers, lowercase letters and uppercase letters. But my code keeps returning all the values at 0. I know my boolean functions are correct because they worked when I counted the numbers in lowercase letters and uppercase letters in a file. Can some please give some insight on what I am doing wrong?