Question: 5 . This problem will require you to write a leaf procedure ( function ) to operate on strings. You will pass a string to
This problem will require you to write a leaf procedure function to operate on
strings.
You will pass a string to the function convertstr for case conversion. You will
convert the uppercase alphabetic characters to lowercase and viceversa. You
need to make sure you dont apply the conversion to a nonalphabetic character.
You need to store the converted characters in the stack.
You can assume a suitable string of at least characters in your data section
This problem will require you to write a nonleaf procedure call function from
another function
You will still do the same essential coding of Problem but here you will test if the
character is an alphabet or not, using a nonleaf procedure testchar. This function
will return for uppercase character, for lowercase character and if its not an
alphabet. You will call testchar from convertstr from this purpose.
Write both of these in LegV please
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
