Latihan Pemograman Komputer 4_4 

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> #include <string.h> using namespace std; int main() { int nilai; char X[10]; strcpy(X, "GAGAL"); cout << "inputkan sebauh nilai: "; cin >> nilai; if (nilai >=60) strcpy(X, "LULUS"); cout << X; cout <<"\nProgram Selesai."; cout <<"\nNama \t: M Fadhlan Robbi"; cout <<"\nNIM \t: 3420240001"; return 0; } //NAMA : M Fadhlan Robbi //NIM : 3420240001
Editor Settings
Theme
Key bindings
Full width
Lines