title: how to guess random values from user in pl sql
body: <p>could someone help?</p>
  
  <pre><code>declare 
  ran int:=dbms_random.value(1,5);
  num number;
  begin
  dbms_output.put_line('enter the num');
  num:=&amp;num;
  
  if num&lt;ran then
  &amp;dbms_output.put_line('Your num is less'||ran);
  elsif num&gt;ran then
  &amp;dbms_output.put_line('Your num is greater'||ran);
  else 
  &amp;dbms_output.put_line('Equal'||num||'='||ran);
  end if;
  while num=ran loop
  &amp;dbms_output.put_line('enter the num');
  num:=&amp;num;
  end loop;
  end;
  </code></pre>
  
  <p>there is some problems ?
  what is wrong?
  how to guess random numbers what's wrong</p>