Assalamualaikum wr.wb
hy guys, what's you guys. how are you today. i hope you always be better than yesterday.
maaf nih guys lagi sibuk2nya nih memuat laporan atau biasa disebut tugas
jadi nih blog jadinya kudet yah hehehe ( kurang upddate) tapi tenang karena saya selalu aktif kok heheeh.
ok i dont wanna waste your time, you"ve to see my program let's check this out :
#include <iostream>
using namespace std;
main(){
float x1,x2,y1,y2,xt,yt;
cout<<"Titik x1 : "; cin>>x1;
cout<<"Titik x2 : "; cin>>x2;
cout<<"Titik y1 : "; cin>>y1;
cout<<"Titik y2 : "; cin>>y2;
xt=(x2-x1)/2; yt=(y2-y1)/2;
cout<<"Titik tengah garis pada titik ("<<x1<<";"<<y1<<")\ndan ("<<x2<<";"<<y2<<") adalah ("<<x1+xt<<";"<<y1+yt<<")";
}
yang diatas adalah hasil kodingan c++ nya guys hehehe maaf kalo kurang rapi soalny dikejar deadline nih hehehe.. tapi tanpa berlama-lama baik kita lihat di c++ dan raptor. ok everybody put your hands up . and let's check this out :
Assalamualaikum wr.wb
0 komentar:
Posting Komentar