REGELBAS
· if presenteraResultat( )
o Do {
§ getAnvändarprofil;
§ compare Användarprofil to Receptprofil;
§ if (användarprofil = receptprofil) add (recept) to List;
} while (receptAntal < max);
o showList( );
·
else Exit;
FRÅGETRÄD
v Avslutning : imply
o Presentation av resultatet : alternativ
§ Ja
q Presentera recept som motsvarar profilen
§
Nej ®
exit