Question: Given a text string in UART, print it out such that all lower case letters become upper case and upper case letters become lower case.

Given a text string in UART, print it out such that all lower case letters become upper case and upper case letters become lower case. (Please note from ascii chart that difference between lower case and upper case letters is exactly 32. That is if we add 32 to 65(uppercase A), it becomes 97(lowercase a)).For example: Input: ThIs hAs GoT tO Be TEdIOus Output: tHiS HaS gOt To bE teDioUS
Write in ARMv7

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!