Comptia-PenTest-pt0-001 – Question98

A penetration tester is checking a script to determine why some basic math errors are persisting. The expected result was the program outputting “True”.

Given the output from the console above, which of the following explains how to correct the errors in the script? (Choose two.)

Change fi to Endli.
B. Remove the let in front of dest=5+5.
C. Change the = to -eq.
D. Change source and dest to $source and $dest.
E. Change else to elif.

Section: (none)

Correct Answer: BD