#include <iostream>
using namespace std;
int num1,num2,suma,producto,diferencia;
void funcion()
{
cout<<“n”;
cout<<“n”;
cout<<“n”;
cout<< “la operación “<< num1 <<” + “<<num2 << ” = “<<suma<< endl;
cout<< “el producto de “<<num1<<” * “<<num2<< ” = “<<producto<< endl;
cout<< “la diferencia entre “<<num1<< ” y ” <<num2<< ” es igual a “<<diferencia<< endl;
}
int main()
{
cout<< “ingresa un número” << endl;
cin>>num1;
cout<<” ingresa otro numero”<< endl;
cin>>num2;
suma=num1+num2;
producto=num1*num2;
diferencia=num1%num2;
funcion ();
return 0;
}
#WSQ08 #TC1017 by Joshua B. G. is licensed under a Creative Commons Attribution 4.0 International License.