Website Summary Files Commits Branches @commit @diff @stats
path: root / Week03 / Exercise10.cpp
blob: dda943e1fd3094eec29e9530379afc4ff1523fd5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include <iostream>

int main() {
    float a1, a2, a3, b1, b2, b3;
    std::cin >> a1 >> a2 >> a3 >> b1 >> b2 >> b3;

    std::cout << (a1 * b1 + a2 * b2 + a3 * b3);

    return 0;
}