Step-by-Step Programming
As your programs get more complicated, it is useful to have a systematic approach to writing the program
Here is an example or the steps you could use to solve this hypothetical homework assignment 3.1
Write a program to convert a baby’s weight given in pounds and ounces to grams. Use your program to convert these weights:
- 9 pounds, 15 ounces
- 9 pounds, 5 ounces
- 10 pounds, 5 ounces
Be sure to use comments to describe your program, and use the title comment to identify the listing.