#include <iostream>
using namespace std;
double dodawanie(double a, double b)
{
return a + b;
}
double odejmowanie(double a, double b)
{
return a - b;
}
double mnozenie(double a, double b)
{
return a * b;
}
double dzielenie(double a, double b)
{
return a / b;
}
int main()
{
double a, b;
cout << "Podaj liczbe: "; cin >> a;
cout << "Podaj liczbe: "; cin >> b;
cout << a << " + " << b << " = " << dodawanie(a, b) << endl;
cout << a << " - " << b << " = " << odejmowanie(a, b) << endl;
cout << a << " * " << b << " = " << mnozenie(a, b) << endl;
cout << a << " / " << b << " = " << dzielenie(a, b) << endl;
return 0;
}