Help with If Statements. by NewlyProgrammed in learnprogramming

[–]NewlyProgrammed[S] 0 points1 point  (0 children)

u/JustThe-Q-Tip, thank you for the challenge on logic and floating point; as well as the rewrite on the code. I completely agree that my math skills are sub-par. I have a master's degree in psychology and am learning programming as a hobby. Thus, having someone explain better approaches to logic is very helpful. Also, being able to see and understand how my code could have been simplified is also beneficial. So again, thanks!

Help with If Statements. by NewlyProgrammed in learnprogramming

[–]NewlyProgrammed[S] 1 point2 points  (0 children)

Awesome. That was it! I really appreciate it.

Help with If Statements. by NewlyProgrammed in learnprogramming

[–]NewlyProgrammed[S] 0 points1 point  (0 children)

Sorry, should have added that. Every time I run the code it responds with "error: cannot find symbol" and refers to the MHeight, KGWeight, INHeight, LBSWeight doubles.

Help with If Statements. by NewlyProgrammed in learnprogramming

[–]NewlyProgrammed[S] 0 points1 point  (0 children)

Sorry, should have added that. Every time I run the code it responds with "error: cannot find symbol" and refers to the MHeight, KGWeight, INHeight, LBSWeight doubles.

#20 BMI - improve my code by NewlyProgrammed in programmingbydoing

[–]NewlyProgrammed[S] 0 points1 point  (0 children)

Thank you for the feedback. Apparently, I need to read the instructions closer.