title: Create a package called hellofrom. Proc_1 should call Proc_2, Proc_2, calls Proc_3;
body: <p>Create a package called hellofrom that contains three public procedures named proc_1, proc_2 and proc_3. Each of these procedures should use DBMS_OUTPUT.PUT_LINE() to display the message “Hello from Proc x” where “x” is 1 or 2 or 3, as appropriate.
  I had help with this one. Now I'm trying to call Proc 1, 2, 3 to each other.
  This is the code I came up with and the mistake is underneath. Not sure what it means.  I added a function.</p>
  
  <pre><code>CREATE OR REPLACE PACKAGE BODY hellofrom IS
    FUNCTION  call_proc  --private function
     (p_proc_1    VARCHAR2,
      p_proc_2    VARCHAR2,
      p_proc_3    VARCHAR2)
    RETURN VARCHAR2 IS
     BEGIN
      IF p_proc_1 THEN
          DBMS_OUTPUT.PUT_LINE('Hello from Proc_2');
      ELSEIF p_proc_2 THEN 
          DBMS_OUTPUT.PUT_LINE('Hello from Proc_3');
      ELSE   
          DBMS_OUTPUT.PUT_LINE('Hello');
   END IF;
  END call_proc;
     PROCEDURE proc_1
     IS
     BEGIN
       DBMS_OUTPUT.PUT_LINE('Hello from Proc 1');
     END proc_1;
  
  PROCEDURE proc_2
  IS
  BEGIN
     DBMS_OUTPUT.PUT_LINE('Hello from Proc 2');
  END proc_2;
  
  PROCEDURE  proc_3
  IS
  BEGIN
      DBMS_OUTPUT.PUT_LINE('Hello from Proc 3');
  END proc_3;
  END hellofrom;
  </code></pre>