This stiuation calls for a basic if-statement.
with TEXT_IO;
use TEXT_IO;
procedure simple_if is
package int_io is new TEXT_IO.INTEGER_IO( INTEGER );
use int_io;
number : integer;
begin -- of simple_if
PUT ( "Enter a number ");
GET ( number );
IF number <= 9 THEN
PUT (" It has only one digit ");
END IF;
PUT ( "Thanks for using this program ");
end simple_if;