#include <iostream>
using namespace std;

int main() {
    int A,B;
    int C=0;

    do {
        cout  Inserisci due numeric
        cin >>A>>B;

        if (A+B<0) {
            C=C+1;
        }
    } while (num1 + num2 < 0);

    cout << "Coppie valide inserite: " << conteggio << endl;

    return 0;
}

Embed on website

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