Help me in solving CPPFALL52 problem

My issue

You are given a lower case character ch. Output it in upper case.

My code

#include <bits/stdc++.h>
using namespace std;

int main() {
    char ch;
    cin >> ch;
    char uppercase = toupper(ch);
    cout << uppercase << endl;
    
    return 0;
}

Learning course: Learn Programming and Problem Solving using C++
Problem Link: https://www.codechef.com/learn/course/sit-cpp-fall/SITFALL09/problems/CPPFALL52