Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
381 B
2
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 = B / A;

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

}