Question: Experiment 3 . Switch between lowercase and uppercase You can manipulate ASCII codes to do things like change between uppercase and lowercase. Use the following

Experiment 3. Switch between lowercase and uppercase
You can manipulate ASCII codes to do things like change between uppercase and lowercase. Use the
following rules, based on each characters ASCII code:
1) if >=0x41 and <=0x5A, add 0x20 to make lowercase
2) if >=0x61 and <=0x7A, subtract 0x20 to make uppercase
Update your interrupt code to do this conversion. Try it with different inputs (change the contents of
data.txt) and record the input and output.

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 Finance Questions!