Write program in Assembly language which accepts two decimal digits from

its user, prints a new line on the display

screen, and if the first digit is larger than the second, displays the

average of the two digits (to the

nearest whole number) and otherwise displays the square root of the

product of the two digits (to

the nearest whole number). Then the program should return to DOS control.

Thus, if the user types

93

then the program displays

6

and if the user types

39

then the program displays

5

Hint: Think of easier way for square root calculation

its user, prints a new line on the display

screen, and if the first digit is larger than the second, displays the

average of the two digits (to the

nearest whole number) and otherwise displays the square root of the

product of the two digits (to

the nearest whole number). Then the program should return to DOS control.

Thus, if the user types

93

then the program displays

6

and if the user types

39

then the program displays

5

Hint: Think of easier way for square root calculation