#include <iostream>
using namespace std;
#include <conio.h>
#include <math.h>
#include <stdio.h>
int main() {
float xA,xB,yA,yB;
printf("\n nhap vao toa do A va B");
cout<<" Nhap xA,yA,xB,yB ";
cin>>xA>>yA>>xB>>yB;
cout<<"\n Trung diem co toa do la I("<<float((xA+xB)/2)<<","<<float((yA+yB)/2)<<")";
getch();
return 0;
}
Không có nhận xét nào:
Đăng nhận xét