Solve By Exhaustion, Assignment

Use nested for loops to find 4 numbers less than 100, such that the second number is twice the first, the third number is the sum of the first 2, the 4th number is 5 more than the second, and the sum of all 4 numbers is 141.  Turn is a listing of your program, along with the answer written in pen and circled on your page.

Leave a Reply

Your email address will not be published. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>