Which of the following is not function of the hypothalamus?…

Questions

Which оf the fоllоwing is not function of the hypothаlаmus?  

Descriptiоn оf the prоgrаm to write: Uploаd а .c source file containing a main function that will implement the following program. Your program will implement a text-based 2-players game. The goal of the game is to be the player to “pickup” the last coin from a stack. The stack of coins is initialized to 21 at the beginning of the game and each player is allowed, in turn, to take 1 to 3 coins from the stack. They do so by entering a value when prompted to do so by the program. As soon as a player has entered how many coins they want to take for this turn, the stack of coins is decremented accordingly. If they happen to have brought the stack of coins to 0 (or even a negative value), they win the game. If not, the game continues, and the other player now takes their turn. Example of Program Execution (user input is in bold) The stack has 21 coins. Player 1 takes: 3The stack has 18 coins. Player 2 takes: 1The stack has 17 coins. Player 1 takes: 5You can only take between 1 and 3 coins during each turn. Player 1 takes: 3The stack has 14 coins.… we skip some output for brevity…The stack has 5 coins. Player 1 takes: 3The stack has 2 coins. Player 2 takes: 3There are only 2 coins remaining for you to take. Player 2 takes: 2The stack has 0 coins. Player 2 wins!   Grading Rubric: Rubric # Pts Additional Grading Notes The program compiles without compilation errors or warnings  3 Deduct 1 point per minor compilation error (e.g., typo, forgotten semi-colon, forgotten or extra curly braces or parentheses). If the program does not compile due to too many errors or due to an error that is non- trivial to fix (see above), then the whole assignment receives zero points. The program executes without crashing at runtime 3 Deduct one point for each use case that leads the program to crash (maximum 3) The program displays the number of coins in the stack accurately, following exactly the prompt presented in the instructions. 3 3 – Implemented according to requirements 2 – Mostly properly implemented 1 – Not properly implemented 0 – not implemented The program keeps track of which player’s turn it is. It displays a prompt indicating the number of the player and inviting them to enter the number of coins they want to take for that turn (see example execution). 3 3 – Implemented according to requirements 2 – Mostly properly implemented 1 – Not properly implemented 0 – not implemented The program stops and declares as winner the player who takes the last coins. 3 3 – Implemented according to requirements 2 – Mostly properly implemented 1 – Not properly implemented 0 – not implemented The program does not allow a player to take more coins than are remaining. 3 3 – Implemented according to requirements 2 – Mostly properly implemented 1 – Not properly implemented 0 – not implemented The program only allows a player to take between 1 and 3 coins (inclusive) during each turn 3 3 – Implemented according to requirements 2 – Mostly properly implemented 1 – Not properly implemented 0 – not implemented