I will start talking about mario, because i can't see anything incorrect with it. So, here we go: This is my codeline:
However, when i test it,the line "handles a height of" 1,2 and 23 can't pass the test. What am i missing?
Now, let's talk about my "greedy" program, i believe that i wrote a correct code, and it worked for every value i tested... with the exception of 4.2. All values around it (3.2, 4.15, 4.25, 4.30,5.2) worked correctly, but the 4.2 prints out 22 instead of 18. Also, the program won't pass in NONE of the "numeric" checks. Here is my codeline for greedy:
I tried a lot looking at these codes to see if i could find something. But nothing. I need help. Thanks guys!