Today I did a little program where you gave two numbers to it and yo got the sum, rest, product, division an remain.<\/span><\/p>\n It was easy once I understood the structure of it, getting help in\u00a0https:\/ #WSQ03<\/a> #FunWithNumbers<\/a><\/span><\/p>\n Here is my code:<\/span><\/p>\n #include<\/a> #include<\/a> using namespace std;<\/span><\/p>\n \u00a0<\/span><\/p>\n int main() {<\/span><\/p>\n \u00a0<\/span><\/p>\n int num1, num2, sum, rest, prod, D, resid;<\/span><\/p>\n \u00a0<\/span><\/p>\n cout <\/span><\/p>\n cin >>num1;<\/span><\/p>\n cout<\/span><\/p>\n cin>> num2;<\/span><\/p>\n \u00a0<\/span><\/p>\n sum = num1 + num2;<\/span><\/p>\n cout<\/span><\/p>\n cout <\/span><\/p>\n \u00a0<\/span><\/p>\n rest = num1 – num2;<\/span><\/p>\n cout <\/span><\/p>\n cout <\/span><\/p>\n \u00a0<\/span><\/p>\n D = num1\/num2;<\/span><\/p>\n cout <\/span><\/p>\n cout <\/span><\/p>\n \u00a0<\/span><\/p>\n resid = num1 % num2;<\/span><\/p>\n cout <\/span><\/p>\n cout <\/span><\/p>\n return 0;<\/span><\/p>\n \u00a0<\/p>\n }<\/span><\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":" Today I did a little program where you gave two numbers to it and yo got the sum, rest, product, division an remain.<\/span><\/p>\n It was easy once I understood the structure of it, getting help in https:\/ #WSQ03<\/a> #FunWithNumbers<\/a><\/span><\/p>\n Here is my code:<\/span><\/p>\n