Sorry guys, i am new at programming, so does anyone can help to answer this question.
In the CalculateBonusInterest() function, the user needs to enter account information for the customer. Assume that every customer may not have all three accounts. If a customer has a saving account then the boolean variable S (for savings account) is set to 1 otherwise S is set to 0. For example, one customer may have all three accounts (i.e. S=1, C=1, and F=1) whereas other customer may have only Current and Fix Term Accounts (i.e. S=0, C=1, and F=1).
I have read some documentation about boolean and condition but i couldnt solve this problem on my assessment.