Untitled
#include <stdio.h> #include <conio.h> #include <iostream> using namespace std; int main() { int a, b, c; cout <<"Introduceti trei numere: "; cin >> a >> b >> c; cout <<"Suma lor este: "<< (a+b+c) <<"\n"; cout <<"Introduceti doua numere: "; cin >> a >> b; cout <<"Media lor aritmetica este: "<< (a+b)/2; }