clc
clear

a = input('Enter a number between 0 to 100: \n');
if (a < 20 && a >= 0)
    fprintf('The value of the number is between 0 and 20.\n')
elseif (a >=20 && a < 40)
    fprintf('The value of the number is between 20 and 40.\n')
elseif (a >=40 && a < 60)
    fprintf('The value of the number is between 40 and 60.\n')
elseif (a >=60 && a < 80)
    fprintf('The value of the number is between 60 and 80.\n')
elseif (a >=80 && a <= 100)
    fprintf('The value of the number is between 80 and 100.\n')
else
    fprintf('The value of the number is our of range. \n')
end
