KODE C++ UNTUK MENCARI HAMBATAN

#include
void main(){
float R1,R2,R3,R4;
float result;
//proses:
cout<<"masukkan nilai R1=";
cin>>R1;
cout<<"masukkan nilai R2=";
cin>>R2;
cout<<"masukkan nilai R3=";
cin>>R3;
cout<<"masukkan nilai R4=";
cin>>R4;
result=(R1+R2)/(R3+R4);
cout<
return ;
}
#include
void main(){
int R1,R2;
int result;
//proses:
cout<<"masukkan nilai R1=";
cin>>R1;
cout<<"masukkan nilai R2=";
cin>>R2;
result=R1+R2;
cout<
return ;
}

No comments:

Post a Comment