A good answer might be:The logical expression is true.
because all OR needs is one true.
|
Try the Program YourselfHere is a version of the car credit program. It is written in JavaScript so the input is from the web browser window, not from the DOS window. The statements in the true branch and the false branch are different than in the original program, because output is to a "text box" in the browser window. Try the program out with various values of cash and credit to check that you understand how OR works. |
QUESTION 18:What does the program do if the user enters negative numbers? Click Here after you have answered the question |