#include #include using namespace std; int main() { string Nama, NIM, sks; float ips1, ips2, ips3, ipk; cout << "Masukkan nama anda : "; getline(cin, Nama); cout << "Masukkan NIM anda : "; cin >> NIM; cout << "Masukkan IP Semester 1 : "; cin >> ips1; cout << "Masukkan IP Semester 2 : "; cin >> ips2; cout << "Masukkan IP Semester 3 : "; cin >> ips3; cout << "=============================================================" << endl; if (ips1>=1.00&&ips2>=1.00&&ips3>=1.00&&ips1<=4.00&&ips2<=4.00&&ips3<=4.00) { ipk=(ips1+ips2+ips3)/3; cout << "Nama : " << Nama << endl; cout << "NIM : " << NIM << endl; cout << "IPK kamu adalah : " << std::setprecision(3) <=3.00&&ips3<=4.00) { cout << "Semester berikutnya kamu dapat mengambil SKS maksimal 24 SKS" << endl; } else if (ips3>=2.00&&ips3<=2.99) { cout << "Semester berikutnya kamu dapat mengambil SKS maksimal 20 SKS" << endl; } else { cout << "Semester berikutnya kamu dapat mengambil SKS maksimal 19 SKS" << endl; } } else { ipk=(ips1+ips2+ips3)/3; cout << "Nama : " << Nama << endl; cout << "NIM : " << NIM << endl; cout << "IPK kamu adalah : " << std::setprecision(3) <