Untitled

mail@pastecode.io avatar
unknown
plain_text
7 months ago
381 B
0
Indexable
Never
#include <iostream>

using namespace std;

int main()
{
    float A = 0;
    float B = 0;
    double sum;
    double del2;
    double mult;
    double delab;

    cin >> A >> B;

    sum = A + B;
    del2 = A/2;
    mult = A * B;
    delab = A / B;

    cout << sum << endl;
    cout << del2 << endl;
    cout << mult << endl;
    cout << delab << endl;

}