Rearrange the codeto define a function foo which throw an exception with a value of -100. If parameter is greater than 999. Then | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Rearrange the codeto define a function foo which throw an exception with a value of -100. If parameter is greater than 999. Then

Function

12th Jun 2021, 10:15 AM
THABIT JAMAL OLADOSU
2 Answers
+ 2
THABIT JAMAL OLADOSU , , before we can help you, you should show us your attempt first. if you have not done a try by yourself upto now, please do so. Put your code in playground and link it here. thanks!
12th Jun 2021, 11:21 AM
Lothar
Lothar - avatar
0
also in addition to your lacks of attempt, you did not provide the target language expected, nor thr "codeto" to rearrange... I guess this is a question from a course quizz: you have to solvd it by yourself, ny reviewing past lesson(s) if necessary... you could also spend some xp by unlocking the question (doesn't remember if that give you the solution or a hint: never tried)
12th Jun 2021, 12:09 PM
visph
visph - avatar