Question: Implementation Task: Please write a Scheme function in the DrRacket IDE which returns a string containing only the number characters in the given string. For

Implementation Task:

Please write a Scheme function in the DrRacket IDE which returns a string containing only the number characters in the given string. For example, if the given string is "12dffggb4@#$%5d", then the return string is "1245". You are required to

  1. (4 points) use a loop or recursion to find the number characters in a character-by-character analysis;
  2. (3 points) provide an explanation as the program comments for the algorithm you are using;
  3. (3 points) call your function using the strings "12dffggb4@#$%5d", "sg6#7 F^T8c fi1 0d(@DK4", and show the return string

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!