Untitled

mail@pastecode.io avatar
unknown
plain_text
23 days ago
198 B
4
Indexable
Never
#include<iostream>
using namespace std;

int main() {
    int A, B, C, sum, avg;
    cin >> A;
    cin >> B;
    cin >> C;

    sum = A + B + C;
    avg = sum / 3;

    cout << avg;
    return 0;
}
Leave a Comment