Given the following program, choose the line necessary to replace the ***’s so that the program segment will ensure that an illegal operation does not occur.

```
Write “Enter a number: “
Write “The square root of that number will be displayed.”.
Input MyNumber
********************
Write “The square root of “ + MyNumber
Write “is: “ + Sqrt(MyNumber)
Else
Write “Illegal operation!”
End If
```
a. If MyNumber < 0
b. If MyNumber <= 0
c. If MyNumber >= 0
d. If MyNumber != 0

C

Computer Science & Information Technology

You might also like to view...

Animations applied to a placeholder can be viewed by clicking the ________ button at the far left of the Animation tab

Fill in the blank(s) with correct word

Computer Science & Information Technology

A computer program that converts assembly-language programs to machine language programs is called a(n) _______ .

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology