Question: Language: SmallTalk To make: instance side variable named grade: pct Output: Assume that argument score is an integer. Return a character letter

Language: SmallTalk

To make: instance side variable named " grade: pct "

Output:

"

Assume that argument score is an integer. Return a character letter grade according to the following table:

Score Grade

80-100 A

70-79 B

60-69 C

50-59 D

< 60 F

If the grade is over 100, return nil "

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Object subclass GradeCalculator instanceVariableNames grade pct classVariabl... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!