Skip to content

Commit a165022

Browse files
authored
updates ex 12
1 parent 7e3b11a commit a165022

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

exercises.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -176,13 +176,13 @@ If/else statements = Evaluates (or checks) a condition. If the condition is true
176176
/*
177177
* #12
178178
* Function - graduation
179-
* Create a function named `graduation` which takes two parameters: `credits` and `thesis`.
179+
* Create a function named `graduation` which takes two parameters: `credits` and `grades`.
180180
*
181-
* @param Datatype: Number `credit`
182-
* @param Datatype: Boolean `thesis`
181+
* @param Datatype: Number `credits`
182+
* @param Datatype: Number `grades`
183183
* @return Datatype: String
184184
*
185-
* If EITHER the number value is greater than or equal to 120 or the boolean value is true, then the function will return the message: "Congratulations on a job well done." Otherwise, return the message: "See you in summer school."
185+
* If EITHER the credits value is greater than or equal to 120 or the grades value is greater than or equal to 2.0, then the function will return the message: "Congratulations on a job well done." Otherwise, return the message: "See you in summer school."
186186
* Console.log your result.
187187
*/
188188

0 commit comments

Comments
 (0)