#include <iostream> // da 2+2=5.cpp 1 april 2020
#include <cmath> 
using namespace std; int main() 
{ setlocale (LC_ALL, "RUS");

double a = 2.4, b = 2.4; double c;
c = a + b;
cout <<  round(a) << " + "<< round(b) << " = "<< round(c) << "\n";

double d,v; d = -2.4, a = -2.4; 
v = d + a;
cout <<  round(d) << " " << round(a) << " = "<< round(v) <<  endl; 

system("pause"); }
