👤

C++ napisać różnicę 3 liczb, na teraz plis

Odpowiedź :

Odpowiedź:

#include <iostream>

using namespace std;

int main() {

 int a, b, c;

 cout << "Podaj a: " << endl;

 cin >> a;

 cout << "Podaj b: " << endl;

 cin >> b;

 cout << "Podaj c: " << endl;

 cin >> c;

 cout << "a-b-c = " << a - b - c << endl;

}

Go Studier: Inne Pytanie