Pooja just got a new cellphone. She carries it everywhere, even to her morning college classes.
She normally answers calls, except in the morning. In the morning she answers only if her Mom calls. However she never answers any calls when she is sleeping.
Complete the method solve, that takes in 3 boolean parameters:
the first boolean is True if it is morning and False if it is not morning
the second boolean is True if her mom is calling and False if her mom is not calling
the third boolean is True if she is sleeping and False if she is not sleeping
You have to print True if Pooja will answer the call and False if she will not answer it.
Example Input: true false false
Output: False
Example Input: true true false
Output: True
Example Input: false true true
Output: False
program in python
Answers
Answered by
0
Kewl Im pooja XD mY name :)
Similar questions