Question: c++ Question 3(5pt): change to upper case Write a function called toUpper that has a single parameter and returns a new string with all characters
c++

Question 3(5pt): change to upper case Write a function called toUpper that has a single parameter and returns a new string with all characters converted to uppercase. Function specifications: The function name: to Upper The function parameter 0 The string that will be converted to upper cases, string The function return value: the string with all upper cases, string The function should not print anything. Edge cases: Non alphabetical characters remain unchanged. Sample run 1 (bold is user input) Enter the string: Convert this string to UPPER case!!! CONVERT THIS STRING TO UPPER CASE!!! The file should be named as toUpper.cpp. Don't forget to head over to the code runner on Moodle and paste only your function in the answer box! In the main, make sure that you call the function and output the surface area
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
