Question: C language, Visual Studio workspace Program a function that receives a string to an array and enables the user to choose of the following 3

C language, Visual Studio workspace

Program a function that receives a string to an array and enables the user to choose of the following 3 missions, all by using functions.

1) Program a function that receives a string in a 'char' structure, and prints out every char according to the number stated before it. For example, for the string "a3b5*9", the function will print the line "aaabbbbb*********"

2) Program a function that receives a string in a 'int' structure, and returns the whole number shown. For example, for the string "69MMS54" the function will return the number "6954".

3) Program a function that receives a string and a char, removes from the string all the char appearances , and prints out the new string without the char appearances. For example, if the string received is "Hello How are you?" and the char is H, then the printed string will be "ello ow are you?"

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!