A good movie is defined if it fulfills the following conditions.
Movie name must be longer than 10 characters not counting the spaces in it.
Rating should be greater than or equal to 5 and less than 8 inclusive. (But see condition 5)
The movie should be for all age groups.
If there are no actresses in the movie, there should be atleast 3 actors.
If rating is less than 5 but greater than 3 then it must have an actor named "Rahul" and actress named "Kareena".
If it is not for all age group then rating should be greater than 6.
Comments
Leave a comment