Latihan individu A

#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 (" <<<","<<<") \n\n"; } 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<<<" Ratusan \n"; cout<<<" Puluhan \n"; cout<<<" Satuan \n\n"; } 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;
}

0 Response to " Latihan individu A "