Question: In Assembly language and pep 8 1 . Main inputs an integer and gives it ( as parameter ) to a method, which multiplies this

In Assembly language and pep8
1. Main inputs an integer and gives it (as parameter) to a method, which multiplies this integer( the parameter) by 4 and returns this value to main. Main outputs a message giving the initial integer and the result.
For example, if the input was 5 main will output
5 multiplied by 4 is 20
2. Practice with characters. Main inputs a character and passes it to the method. If this character is lowercase, the method will make it uppercase and return this value to main. If the parameter is anything else the method will return '?' to main. Main will output the initial input and the result.

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