Java Project

profilebluestar77
ProjectOneTipsandSuggestions.docx

Project One Tips & Suggestions

Here are some tips and suggestions for successfully completing Programming Project One, Recommend Treatment.

· Do Not Wait Until the Last Minute. This is not a particularly difficult assignment. However, it has a lot of moving parts.

· Do a Top-Down analysis and divide your program into components. The classic Input-Process-Output analysis is not a bad place to start. You might even consider isolating the calculation using the Smithfield formula as a function.

· Use specific prompts. If you want the user’s weight in kilograms, ask them for their weight in kilograms. Be specific.

· If your calculations require the number of solar cycles, ask your user for the number of solar cycles. Be specific and explicit.

· Get your program to work correctly without the required loop that allows your user to repeatedly estimate the Biximent Metabolic Index. Add the loop later.

· Use comment statements to identify what you want to do in the order you want to do those things. Then, come back one piece at a time filling in the Java code that will accomplish what your comment implied.

· For example, insert a comment that identifies the need to validate user input after each place in your program where you accept input from your user. Then, come back and add the code to validate all the user input values after the program works correctly.

· Use your knowledge of the hierarchy of operations to evaluate the Smithfield formula correctly. Be careful.

· Display the Biximent Metabolic Index (BMI) estimate using two decimal places. For example, display 124.65 instead of just 124.7.

· Validate your program’s output with some know parameters. Use the example output in the instructions. Come up with your own verifying cases.

Test your program thoroughly before submitting it.