{"id":2108,"date":"2017-06-12T09:09:15","date_gmt":"2017-06-12T08:09:15","guid":{"rendered":"http:\/\/www.ihaz.codes\/UoB\/?page_id=2108"},"modified":"2020-04-30T15:57:46","modified_gmt":"2020-04-30T14:57:46","slug":"simple-calculator","status":"publish","type":"page","link":"https:\/\/www.ihaz.codes\/UoB\/tasks\/if-statements\/if-gold\/simple-calculator\/","title":{"rendered":"simple calculator"},"content":{"rendered":"<p>Create a program which will do the following.<\/p>\n<ul>\n<li>Ask for two numbers, stored in separate variables.<\/li>\n<li>Ask if they want to add or subtract.<\/li>\n<li>If they select &#8220;add&#8221; then the program will display the two numbers added<\/li><\/ul><a href='https:\/\/www.ihaz.codes\/UoB\/tasks\/if-statements\/if-gold\/simple-calculator\/'>[read more]<\/a>","protected":false},"excerpt":{"rendered":"<p>Create a program which will do the following. Ask for two numbers, stored in separate variables. Ask if they want to add or subtract. If they select &#8220;add&#8221; then the program will display the two numbers added [read more]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":2088,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"categories":[17],"class_list":["post-2108","page","type-page","status-publish","hentry","category-python-decisions"],"_links":{"self":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/2108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/comments?post=2108"}],"version-history":[{"count":2,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/2108\/revisions"}],"predecessor-version":[{"id":2609,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/2108\/revisions\/2609"}],"up":[{"embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/pages\/2088"}],"wp:attachment":[{"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/media?parent=2108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ihaz.codes\/UoB\/wp-json\/wp\/v2\/categories?post=2108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}