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
Step: 1
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