👤

Fiind date 3 numere naturale x,y si z. Determinati suma si produsul lor! Va roooggg repede!

Răspuns :

#include <iostream>

using namespace std;

int main() {

   int x, y, z;

   cin >> x >> y >> z;

   cout

   << "Suma: " << x + y + z

   << " Produs: " << x * y * z;

}