Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

solve it with C language Exercise 2 = Strine Serrations usine. cecwlwe functions. (4 marks] Exercise Objectives Identifying the base cases and recursive step used

solve it with C language image text in transcribed
Exercise 2 = Strine Serrations usine. cecwlwe functions. (4 marks] Exercise Objectives Identifying the base cases and recursive step used for processing arrays recursively Implementing and calling recursive function that receives strings as parameters implementing string operations within recursive functions definitions Calling functions Problem Description Within replit.com #DE. create another new repl (project) and name in laborxz. Ve this project to write and run a program that performs the following Use the symbolic constant to define the size of a string(1) array of chary of so Declare a variables named myhobby of the specified site Prompt the user to read myhobby array Declare the following functions as prototype and implement them after the main function NEVER | 0 stringh functional PrintStrChars), a function receives a string and displays its characters Strength), a secure function that receives a string and returns its length LowercaseNum). this tive function receives a string and returns the number of lowercase letters in the string Convert ToUppercase, this resursive function converts all characters to percase StrReversel), assive function that receives a string and reverse the string In the main function Prompt the user to input myhobby Print myhobby characters by calling PrintStrChars function Call Strength for myhobby and display the length Call UppercaseNum) for myhobby, and display the result Call ConvertTolowercasel) for myhobby. then print myhobby Call SurReversel) for myname, then print myhobby. Mintt: you need to call Strength() function to determine the end of the string Hint2 you can use static variables to move forward in the start of the string and to move backward in the end of the string Organize the output to appear as shown in the sample output below Download your project assip file and keep it within your file item (Oktop for example) Upload the project to the learning platform Sample Output Input your hobby BasketBALL Page 3 of 5 Printing myhobby character by character The length of myhobby 10 Number of Lowercase character 5 Converting myhobby to uppercase BASKETBALL Reversing myhobby becomes lateksab

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Programming The Perl DBI Database Programming With Perl

Authors: Tim Bunce, Alligator Descartes

1st Edition

1565926994, 978-1565926998

More Books

Students also viewed these Databases questions

Question

Develop skills for building positive relationships.

Answered: 1 week ago

Question

Describe techniques for resolving conflicts.

Answered: 1 week ago

Question

Give feedback effectively and receive it appropriately.

Answered: 1 week ago