0% found this document useful (0 votes)
12 views

1

The document contains pseudocode to assign a letter grade based on a student's numeric course grade. It uses an if/else structure to check if the numeric grade is greater than or equal to 80, 70, 60, or 50, and outputs the corresponding letter grade of A, B, C, D, or E respectively. If the grade is less than 50, it outputs an E.

Uploaded by

sapitricrazi244
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views

1

The document contains pseudocode to assign a letter grade based on a student's numeric course grade. It uses an if/else structure to check if the numeric grade is greater than or equal to 80, 70, 60, or 50, and outputs the corresponding letter grade of A, B, C, D, or E respectively. If the grade is less than 50, it outputs an E.

Uploaded by

sapitricrazi244
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Input Nilai Mata Kuliah

if Nilai >= 80 then

Nilai Huruf = A

else if Nilai >= 70 then

Nilai Huruf = B

else if Nilai >= 60 then

Nilai Huruf = C

else if Nilai >= 50 then

Nilai Huruf = D

else

Nilai Huruf = E

end if

Output Nilai Huruf


Start

Infut nilai

Mata kuliah

Tulis ‘A’
Nilai ≥80

>

Yes No

kkk Nilai Tulis ‘B’


≥70
matama
ta mata
m
Yes No

Nilai
Tulis ‘C’
≥60

Yes No

Nilai Tulis ‘D’


≥5o

Yes No

Nilai Tulis ‘E’


≤5o

<
End

You might also like