This blog is about showing you how i made a programm that works kind of like a calculator. The task was to creat a programm in which we can input two integers and the display will show the addition, the sustraction, the multiplication, the division and the reminder of the division of the numbers.<\/p>\n
<\/a><\/p>\n For this, i give the instruction to the programm to ask the user for two integers and then to print each of the mathemathic operations.<\/p>\n The code is this:<\/p>\n #Jorge Fernando Salda\u00f1a Cabal <\/a> <\/p>\n","protected":false},"excerpt":{"rendered":" This blog is about showing you how i made a programm that works kind of like a calculator. The task was to creat a programm in which we can input two integers and the display will show the addition, the sustraction, the multiplication, the division and the reminder of the division of the numbers. For … Seguir leyendo Fun with numbers<\/span> →<\/span><\/a><\/p>\n","protected":false},"author":202,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3],"tags":[93,39],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/20532"}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/users\/202"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/comments?post=20532"}],"version-history":[{"count":2,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/20532\/revisions"}],"predecessor-version":[{"id":21307,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/posts\/20532\/revisions\/21307"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/media?parent=20532"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/categories?post=20532"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101fall2015\/wp-json\/wp\/v2\/tags?post=20532"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\n# A01350730
\nprint (“Hey!, Do you want to make some math”)
\nprint(“Lets make the basic operations: Addition, Sustraction, Multiplication and”)
\nprint(“Division”)
\nprint()
\nx = int(input(“Please enter your firste integer: “))
\nprint()
\ny = int(input(“Please enter your second integer: “))
\nadd = x + y
\nsus = x – y
\nmul = x * y
\ndiv = x \/\/ y
\nrem = x % y
\nprint ()
\nprint(“The addition of your two numbers is: “, add, “, the sustracion is: “, sus, )
\nprint(“the multiplication is: “, mul, “, the division is: “, div)
\nprint(“and its reminder is: “, rem)
\nprint (“Thanks for using us.”)<\/p>\n