declare

   myCID binary_integer;
   myLname varchar2(40);
   myFname varchar2(40);
  
   cursor highIdx is select max(CID) from customers;


begin
  dbms_output.enable;

  open highIdx;
  fetch highIdx into myCID;
  myCID := myCID+1;
  
  dbms_output.put_line(myCID);  
  
  myLname := 'DOGGAN';
  myFname := 'ASHLEY';
    
  insert into customers values(myCID, myLname, myFname);
  
  
end;
/
