Sie sind auf Seite 1von 1

Hasil

#include <iostream>

using namespace std;

int main()
{
float a;
float b;
float c;
float d;
float e;
float j;

cout<<"Keberhasilan Total Operasi \t = ";cin>>a;
cout<<"Keberhasilan Operasi Pertama \t = ";cin>>b;
cout<<"Keberhasilan Operasi Kedua \t = ";cin>>c;
cout<<"Jumlah Pasien\t = ";cin>>d;


e=(a-c);cout<<endl;
cout<<"Kberhasilan Operasi \t = "<<e ; cout<<"%"; cout<<endl;
j=(d*e)/100;cout<<endl;
cout<<"Jumlah Orang Selamat \t = "<<j ; ; cout<<"orang"; cout<<endl;
return 0;
}

Das könnte Ihnen auch gefallen