Question: help me code this one with C code 1. King Hydra by CodeChum Its the first of February 2018, Cody finally arrived home, he found
1. King Hydra by CodeChum Its the first of February 2018, Cody finally arrived home, he found The Programmer in a bit of a problem, a Hydra had gotten inside their house and eaten The Programmer alive! Cody knew it was up to him to save his creator but he had to be smart about it. He knew from previous lessons that a Hydra starts with 1 head and grew 2 heads for every head you cut. Knowing this, how many heads would the Hydra have the next month if he was to cut only one of it's head off everyday starting today (February 1)? Note that there are 28 days in February 2018. Output Format A single line containing the number of heads of the Hydra Output Sample 100
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
