TOPIC

Esta dando erro

Ket asked 2 years ago

include include

using namespace std;

int main() {

long long int A,B,C;

while ((cin >> A >> B) != EOF){

if (A >= B) { C =A-B; cout << C << endl; } else { C = B-A; cout << C << endl; }

}

return 0;

}

This topic has not been answered yet. Be the first!

Remember not post solutions. Your post may be reviewed by our moderators.