I want to know apply practical in c++program

QI: Write a C ++ program, using function, to counts uppercase letter in a 20 letters entered by the user in the main program.