#include <iostream>
using namespace std;
int main() {
    int m=1;
    float n1, n2;
    while(m!=0){
        cout<<"Ingrese el primer numero: "<<endl;
        cin >>n1;
        cout<<"El primer numero es: "<<n1<<endl<<endl;
        cout<<"Ingrese el segundo numero: "<<endl;
        cin >>n2;
        cout<<"El segundo numero es: "<<n2<<endl<<endl;
        
        cout<<"La suma es: "<<n1+n2<<endl;
        
        cout<<"¿Desea realizar otra suma? "<<endl;
        cout<<"Digite: 1, sino digite: 0: "<<endl<<endl;
        cin>>m;
        
    }
    return 0;
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: