C++ code help, I think I’m solving this incorrectly.
In c++ practice lesson 18.2 am I meant to solve the problem by using a double instead of the int it gave me? At that point I have not learned them yet but am told that’s the only way? Any suggestions on other ways to solve I’m kinda stumped and feel like I’m missing something from that lesson and a little bit of insight would go a long way. -thanks in advance!!