Page 1 of 1

Write a subroutine to change cases of all the characters of a user entered name string: Upper to Lower Case and Lower to

Posted: Tue Sep 07, 2021 7:21 am
by answerhappygod
Write a subroutine to change cases of all the characters of a
user entered name string: Upper to Lower Case and Lower to Upper
Case.
Write A Subroutine To Change Cases Of All The Characters Of A User Entered Name String Upper To Lower Case And Lower To 1
Write A Subroutine To Change Cases Of All The Characters Of A User Entered Name String Upper To Lower Case And Lower To 1 (103.54 KiB) Viewed 149 times
2.2 A MARIE Subroutine to Change Cases of Characters of User Entered Names (Upper to Lower or Lower to Upper Cases) and Print (15 marks) Write a subroutine to change cases of all the characters of a user entered name string: Upper to Lower case or Lower to Upper case. Name the subroutine as subChangeCase. This subroutine modifies all the characters of a string in memory (from lower to upper or upper to lower cases). The program should then print the original and the modified string. Submit your MARIE code and documentation of test cases converting at least three names. To receive full marks, the main program from section 2.1 must be extended to print the original name string and the modified changed-case name string by calling the respective subroutines. Name your MARIE code file as "2_2_ChangeCase.mas”. Hint: you can easily identify the uppercase or lowercase ASCII value ranges through the ASCII table and notice the numeric difference between the uppercase and lowercase characters. Address 300H 310 f N A ME, I NAME: F NAME, IN AME. +NAME, NAME 320 و 330H $