result = "Anda mendapatkan nilai ";
// ganti baris ini dengan nilai apapun yang anda mau
score = 80
if (score >= 90) {
result = 'Selamat! Anda mendapatkan nilai A.';
} else if (score >= 80) {
result += 'B.';
} else if (score >= 70) {
result += 'C.';
} else if (score >= 60) {
result += 'D.';
} else {
result = 'Anda mendapatkan nilai E.';
}
console.log(result)