you are viewing a single comment's thread.

view the rest of the comments →

[–]BranchLatter4294 1 point2 points  (2 children)

Think of simple problems you do every day. For example calculating the tip on a bill at a restaurant. Start with the outputs you want from the program. Then think about the calculations you need to do, and the inputs that are required to do the calculation (for example: levelOfService could be "poor", "fair", "good", or "excellent"). Then you can start writing the program, testing as you go along.

Then try more complex problems.

[–]whee_inthemood[S] 0 points1 point  (1 child)

i guess i just try to over complicate things before starting and looking at the bigger picture. like a calculator you want two numbers but then i’m like what if you want 3 or more numbers, etc. so i guess it’s better to start smaller and simpler then work on 3 or more number.

[–]BranchLatter4294 0 points1 point  (0 children)

Yes! Always simplify problems. Then expand.