-2

enter image description here

I'm working through The Algorithms section of Khan Academy. I'm working on the challenge at https://www.khanacademy.org/computing/computer-science/algorithms/binary-search/p/challenge-binary-search

How do I run the program, after I write it?

user1592380
  • 34,265
  • 92
  • 284
  • 515

1 Answers1

2

It runs automatically. Try removing the println line of code and you will see the black box that is outputting the result disappears.

Sergio Tulentsev
  • 226,338
  • 43
  • 373
  • 367
WizardCoder
  • 3,353
  • 9
  • 20