$25
Task 01
Write a program which takes in two numbers and finds all the numbers that are divisible by 5 within that range.
Task 02
Find the sum of the following sequence using loops print the result
a. 1 − 2 + 4 − 8 + 16 − …… + 512
Task 03
Write a program which stores a number in AX, stores another number in BX and multiplies them using repeated summation and prints the result. You will not be able to use the “MUL” function here. And you do not have to take overflow into account.
Task 04
Write a program that will prompt the user to enter a hex digit character ("0" ... "9" or "A"... "F"), display it on the next line in decimal, and ask the user if he or she wants to do it again. If the user types "y" or "Y", the program repeats; if the user types “n” or “N” the program terminates. If the user enters an illegal character, prompt the user to try again
Sample execution:
ENTER A HEX DIGIT: 9
IN DECIMAL IT IS 9
DO YOU WANT TO DO IT AGAIN? : y
ENTER A HEX DIGIT: c
ILLEGAL CHARACTER, INSERT AGAIN: C
IN DECIMAL IT IS 12
DO YOU WANT TO DO IT AGAIN? : N