Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Submission: Submit your solutions as a single .zip file through Blackboard. .zip file will contain -Q1.cpp file (for Question 1) including the repeatUpperCase function
Submission: Submit your solutions as a single .zip file through Blackboard. .zip file will contain -Q1.cpp file (for Question 1) including the repeatUpperCase function and the main function. - MyList.h file and MyListDriver.cpp file (for Question 2). An example MyListDriver.cpp is given in the question. Q1 (30 pts). Write a C++ function named repeatUpperCase that accepts a string parameter and returns another string by including all upper case letters in the parameter twice. For instance, if the parameter is "The Young Girl Gave No Clear Response.", the function should return "TThe YYoung GGirl GGave NNo CClear RResponse.". In your main function, read a file named "input.txt" and apply the function to each line and print them into "output.txt". An example "input.txt" and "output.txt" is given below:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Certainly Heres an example implementation for Q1 in C cpp include include include stdstring repeatUp...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started