#include<\/a> <iostream><\/p>\nusing namespace std;<\/p>\n
<\/p>\n
int function1(int a, int b){<\/p>\n
int c;<\/p>\n
c=a*b;<\/p>\n
cout<<“c: “<<c<<endl;<\/p>\n
return 0;<\/p>\n
}<\/p>\n
int main(){<\/p>\n
int a,b;<\/p>\n
cout<<“give me a:”<<endl;<\/p>\n
cin>>a;<\/p>\n
cout<<“give me b:”<<endl;<\/p>\n
cin>>b;<\/p>\n
function1(a,b);<\/p>\n
}<\/p>\n
<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"
#Mastery12 #TC1017 #doingallmasteries Here is the youtube link to mastery12: https:\/\/www.youtube.com\/watch?v=kNgEAiYSGkgFunctions in c++ are really important in order to do lots of repetitive stuff. Instead of writing down the code f… Continue reading →<\/span><\/a><\/p>\n","protected":false},"author":43,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,3,26],"tags":[56,95,129,40],"_links":{"self":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/12551"}],"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\/43"}],"replies":[{"embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/comments?post=12551"}],"version-history":[{"count":6,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/12551\/revisions"}],"predecessor-version":[{"id":19561,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/posts\/12551\/revisions\/19561"}],"wp:attachment":[{"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/media?parent=12551"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/categories?post=12551"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kenscourses.com\/tc101winter2015\/wp-json\/wp\/v2\/tags?post=12551"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}