{"id":1314,"date":"2015-04-26T20:06:01","date_gmt":"2015-04-27T03:06:01","guid":{"rendered":"http:\/\/sites.evergreen.edu\/compcog15\/?page_id=1314"},"modified":"2015-04-26T20:06:01","modified_gmt":"2015-04-27T03:06:01","slug":"solve-by-exhaustion-problem","status":"publish","type":"page","link":"https:\/\/sites.evergreen.edu\/compcog17\/solve-by-exhaustion-problem\/","title":{"rendered":"Solve By Exhaustion Problem"},"content":{"rendered":"<h1 class=\"entry-title\">Solve By Exhaustion, Assignment<\/h1>\n<h1>Your task is to solve the following problem: \u00a0 Find 4 numbers such that: \u00a0The second is 4 more than twice the first. \u00a0The third number is equal to the first number plus the second. \u00a0The fourth number minus the third number equals the first number. \u00a0The second number plus the third number is 4 more than the first number plus the fourth number. \u00a0 Use a variation of the following 2 programs. \u00a0 Run the program. \u00a0Check to see if the answer works. \u00a0 Print a listing of your working program, or get help.<\/h1>\n<h1>Here are 2 sample programs::<\/h1>\n<div class=\"entry-content\">\n<h2>Use nested for loops to find 4 numbers less than 100, such that the\u00a0first number is divisible by 3, the second number is twice the first number, the third number is equal to the first number times the second number, and the fourth number is equal to the third number minus the second number minus the first number<\/h2>\n<h1><a href=\"http:\/\/ada.evergreen.edu\/~vanetta\/ForExhaustion1.html\">Example 1<\/a><\/h1>\n<\/div>\n<h1>Use a nested for loops to find 4 numbers such that: \u00a0The sum of all 4 numbers is equal to 145, \u00a0twice the first number is 4 more than the second number, \u00a0the third number is equal to the first numnber plus the second number, and the 4th number is equal to 3 times the first.<\/h1>\n<h1><a href=\"http:\/\/ada.evergreen.edu\/~vanetta\/ForExhaustion2.html\">Example 2<\/a><\/h1>\n","protected":false},"excerpt":{"rendered":"<p>Solve By Exhaustion, Assignment Your task is to solve the following problem: \u00a0 Find 4 numbers such that: \u00a0The second is 4 more than twice the first. \u00a0The third number is equal to the first number plus the second. \u00a0The fourth number minus the third number equals the first number. \u00a0The second number plus the [&hellip;]<\/p>\n","protected":false},"author":274,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"_mi_skip_tracking":false},"_links":{"self":[{"href":"https:\/\/sites.evergreen.edu\/compcog17\/wp-json\/wp\/v2\/pages\/1314"}],"collection":[{"href":"https:\/\/sites.evergreen.edu\/compcog17\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.evergreen.edu\/compcog17\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.evergreen.edu\/compcog17\/wp-json\/wp\/v2\/users\/274"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.evergreen.edu\/compcog17\/wp-json\/wp\/v2\/comments?post=1314"}],"version-history":[{"count":0,"href":"https:\/\/sites.evergreen.edu\/compcog17\/wp-json\/wp\/v2\/pages\/1314\/revisions"}],"wp:attachment":[{"href":"https:\/\/sites.evergreen.edu\/compcog17\/wp-json\/wp\/v2\/media?parent=1314"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}