From c7f21c6ca0e1196c27125a7390d9c196356b9134 Mon Sep 17 00:00:00 2001 From: Rune Christensen Date: Wed, 8 May 2024 20:53:59 +0200 Subject: [PATCH] Missing variable WS-DESIREDGRADE is required by the tests, and should be available from the start, to allow all tests to fail from the start, instead of receiving compile errors. --- exercises/practice/grade-school/src/grade-school.cob | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/exercises/practice/grade-school/src/grade-school.cob b/exercises/practice/grade-school/src/grade-school.cob index ffcf9810..f83806b2 100644 --- a/exercises/practice/grade-school/src/grade-school.cob +++ b/exercises/practice/grade-school/src/grade-school.cob @@ -5,6 +5,7 @@ WORKING-STORAGE SECTION. 01 WS-STUDENTNAME PIC X(60). 01 WS-STUDENTGRADE PIC 9. + 01 WS-DESIREDGRADE PIC 9. 01 WS-RESULT PIC X(5). 01 STUDENTROSTER. @@ -21,4 +22,4 @@ GET-GRADE. - \ No newline at end of file +