educative.io

Educative

Stucked on an exercise

Hey, this is the exercise that sounds me so strange, i can’t understand how to resolve it and educative hadn’t provided the solution.

Write a function that indicates whether or not to sell a stock. Use conditional statements to return a Boolean value that:

  • returns true if stockPrice is greater than or equal to sellPrice
  • returns false if stockPrice is less than sellPrice

Anyone would help me?

Hi @Karim_Ahmed,

Thank you for reaching out to us. Can you please provide the link to the course and lesson?