Check out example codes for "is upper c++". It will help you in understanding the concepts better.

Code Example 1

if (isupper(str[i])) {
	// str[i] is uppercase

Code Example 2

// Program to check if a character is in  
// uppercase using isupper() 
#include <iostream> 
#include <cctype> 
using namespace std; 
int main() 
    char x; 
    cin >> x; 
    if (isupper(x))  
        cout << "Uppercase"; 
        cout << "Not uppercase.";     
    return 0; 

Learn ReactJs, React Native from