#include<\/a><iostream><\/p>\nusing namespace std;<\/p>\n
int sum(int x, int y)<\/p>\n
{<\/p>\n
return x+y;<\/p>\n
}<\/p>\n
int dif(int x, int y)<\/p>\n
{<\/p>\n
return x-y;<\/p>\n
}<\/p>\n
int mul(int x, int y)<\/p>\n
{<\/p>\n
return x*y;<\/p>\n
}<\/p>\n
int div(int x, int y)<\/p>\n
{<\/p>\n
return x\/y;<\/p>\n
}<\/p>\n
int rem(int x, int y)<\/p>\n
{<\/p>\n
return x%y;<\/p>\n
}<\/p>\n
int main()<\/p>\n
{<\/p>\n
int x, y;<\/p>\n
cout<<“Type two integer numbers please.”<<endl;<\/p>\n
cin>>x;<\/p>\n
cin>>y;<\/p>\n
cout<<“The sum of “<<x<<” + “<<y<<” is “<<sum(x,y)<<“.”<<endl;<\/p>\n
cout<<“The difference of “<<x<<” – “<<y<<” is “<<dif(x,y)<<“.”<<endl;<\/p>\n
cout<<“The product of “<<x<<” * “<<y<<” is “<<mul(x,y)<<“.”<<endl;<\/p>\n
cout<<“The integer division of “<<x<<” \/ “<<y<<” is “<<div(x,y)<<“.”<<endl;<\/p>\n
cout<<“The integer remainder of “<<x<<” \/ “<<y<<” is “<<rem(x,y)<<“.”<<endl;<\/p>\n
return 0;<\/p>\n
}<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"
#TC1017 this is my FUNFUNCTIONS program.#include<iostream>using namespace std;int sum(int x, int y){return x+y;}int dif(int x, int y){return x-y;}int mul(int x, int y){return x*y;}int div(int x, int y){return x\/y;}int rem(int x, int y){r… Continue reading →<\/span><\/a><\/p>\n","protected":false},"author":131,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3,26],"tags":[95,40],"class_list":["post-5575","post","type-post","status-publish","format-standard","hentry","category-blogs","category-syndicated","category-tc1017blogs","tag-include","tag-tc1017"],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/5575","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/users\/131"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/comments?post=5575"}],"version-history":[{"count":3,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/5575\/revisions"}],"predecessor-version":[{"id":7663,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/5575\/revisions\/7663"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/media?parent=5575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/categories?post=5575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/tags?post=5575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}