c 2b 2b center point

Solutions on MaxInterview for c 2b 2b center point by the best coders in the world

showing results for - "c 2b 2b center point"
Celya
07 Feb 2017
1#include <iostream>
2using namespace std;
3
4int med(int k, int l){
5    return (k+l)/2;
6}
7
8int main(){
9    int p1,p2;
10    cout << "Point 1 = " ;cin >> p1;
11    cout << "Point 1 = " ;cin >> p2;
12    cout << " Center point = " << med(p1,p2) << endl;
13    
14    return 0;
15}
queries leading to this page
c 2b 2b center pointc 2b 2b center point