{"id":2052,"date":"2016-04-06T12:56:31","date_gmt":"2016-04-06T19:56:31","guid":{"rendered":"https:\/\/sites.evergreen.edu\/candc16\/?page_id=2052"},"modified":"2017-04-12T10:51:32","modified_gmt":"2017-04-12T17:51:32","slug":"2052-2","status":"publish","type":"page","link":"https:\/\/sites.evergreen.edu\/compcog17\/2052-2\/","title":{"rendered":"Movie Program"},"content":{"rendered":"<p>Movie Program:<\/p>\n<ol>\n<li>\u00a0Run, tweak, and rerun the first<a href=\"https:\/\/myfiles.evergreen.edu\/academics\/programs\/compcog-s17\/Handouts\/Movie1.html\"> Movie Program<\/a>. \u00a0 \u00a0Change the code so that adults are $12 instead of 8<\/li>\n<li>Run, tweak, and rerun the <a href=\"https:\/\/myfiles.evergreen.edu\/academics\/programs\/compcog-s17\/Handouts\/Movie2.html\">second Movie Program<\/a>. \u00a0Notice you need to reply &#8216;yes&#8217; in the prompt box to see a result<\/li>\n<\/ol>\n<p>You will write code to figure the price of a movie ticket. \u00a0Here are the rules: \u00a0 Adults are $12, \u00a0 Students are $9, \u00a0 Kids under 6 are free, \u00a0 Every Wednesday the tickets are half priced. \u00a0The paper has a coupon for $1 off that is good on any day, and applies to the lowest price, \u00a0 Students with a coupon on Wednesday will pay $3.50: \u00a09\/2 &#8211; 1<\/p>\n<ol>\n<li>\u00a0Work on finishing the Decision Table page. \u00a0 Check the link \u00a0Classes\/April 6\/Decision Table \u00a0Finish it. \u00a0Use it as a guide in your programming<\/li>\n<li>\u00a0Change the second Movie program on tiny piece at a time. \u00a0 If it works, keep it as a new version, but keep the old. \u00a0 If your next change does not work, then always go back to the previous working version. \u00a0Try to figure out what went wrong. \u00a0Try your fix. \u00a0If it works, save another version. \u00a0 If not try again. \u00a0 Seek help from others if you are &#8216;thrashing&#8217;, that is you have no idea what to try next. \u00a0 DO NOT give up too quickly, however. \u00a0Just get help on the one piece, not the whole program. \u00a0See me if you are stuck. \u00a0Do your own work. \u00a0Help should not include coping. \u00a0 \u00a0Show help, do not DO it.<\/li>\n<li>\u00a0 Turn in a working listing of your program. \u00a0 Copy your Decision Table on the back of the listing<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Movie Program: \u00a0Run, tweak, and rerun the first Movie Program. \u00a0 \u00a0Change the code so that adults are $12 instead of 8 Run, tweak, and rerun the second Movie Program. \u00a0Notice you need to reply &#8216;yes&#8217; in the prompt box to see a result You will write code to figure the price of a movie [&hellip;]<\/p>\n","protected":false},"author":274,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_mi_skip_tracking":false},"_links":{"self":[{"href":"https:\/\/sites.evergreen.edu\/compcog17\/wp-json\/wp\/v2\/pages\/2052"}],"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=2052"}],"version-history":[{"count":0,"href":"https:\/\/sites.evergreen.edu\/compcog17\/wp-json\/wp\/v2\/pages\/2052\/revisions"}],"wp:attachment":[{"href":"https:\/\/sites.evergreen.edu\/compcog17\/wp-json\/wp\/v2\/media?parent=2052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}