Basically what I did was to give to integers and then give them a value which will interact with the other.

#include <iostream>
using namespace std;

int main (){
int x;
int y;
cout << “Introduce un numeron”;
cin >> x;
cout << “Introduce otro numeron”;
cin >> y;
cout << “El resultado de la suma es= ” << x+y <<“n”;
cout << “El resultado de la resta es= ” << x-y <<“n”;
cout << “El resultado de la division es= ” << x/y <<“n”;
cout << “El residuo de la division es= ” << x%y <<“n”;
return 0;
}

This is the program.

I only read and with that I could do this program.

George V

https://www.flickr.com/photos/carspotter/

CC BY 4.0 #WSQ03 by alan46bc is licensed under a Creative Commons Attribution 4.0 International License.