#include < iostream >
#include < conio >
void Titik()
{
int x1, x2, xt,y1,y2,yt;
cout<<"masukkan x1 \n";
cin>>x1;
cout<<"masukkan x2 \n";
cin>>x2;
cout<<"masukkan y1 \n";
cin>>y1;
cout<<"masukkan y2 \n";
cin>>y2;
xt=(x1+x2)/2;
yt=(y1+y2)/2;
cout<<"titik tengah nya adalah (" <
}
void integer()
{
int a,b,c,a1,b1,c1;
cout<<"masukkan a \n";
cin>>a;
a1=a/100;
b=a%100;
b1=b/10;
c=b%10;
c1=c/1;
cout<
cout<
cout<
}
void deter()
{
int a,b,c,d, det;
cout<<"masukkan a \n";
cin>>a;
cout<<"masukkan b \n";
cin>>b;
cout<<"masukkan c \n";
cin>>c;
cout<<"masukkan d \n";
cin>>d;
det=(a*d)-(b*c);
cout<<"nilai determinannya = "<
}
int main ()
{
Titik();
integer();
deter();
getch();
return 0;
}
Dijamin Berhasil 100%
0 komentar:
Posting Komentar