Electrical and Computer Engineering
11 of 17
UAH
CPE 112
One More struct Example
•int triple_double (struct player player_name)
•{
• int result;
•
• if (player_name.assists >= 10 &&
• player_name.points >= 10 &&
• player_name.rebounds >= 10)
• result = 1;
• else
•     result = 0;
• return result;
•}