Friday, February 10, 2006

Algorithm

prompt This is how a programmer bride plans a wedding...

Create Procedure Check_Pending as
Begin
    If bridal_gown <> 'READY' and current_date > date_needed then
      go_to_tutuban;
      buy_ready_made;
    End if;
    If first_dance = 'TheFirstTimeISawYou' then
      singer := 'Robbie';
      ask_singer('Robbie',reply);
        If reply = 'NO' then
          first_dance := 'BastatKasamaKita';
          singer := 'Redgie';
          ask_singer('Redgie',reply);
            If reply = 'NO' then
              first_dance := 'BastatKasamaKita';
            End if;
        End if;
    End if;
End Check_Pending;

              0 Comments:

              Post a Comment

              << Home