Ask Question
9 September, 21:10

Which is a correct way to test whether two variables representing numbers, numOne and numTwo, are equal?

+1
Answers (1)
  1. 9 September, 21:39
    0
    Intital value of variable "NUM" is 10 when while loop execute for the first time, it check the condition (num<10) and founds this FALSE. So the statement inside execute if while loop doesn't execute then it will not going to change the value of "NUM ". That is why the value of "NUM" will remain same i. e NUM 10
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Which is a correct way to test whether two variables representing numbers, numOne and numTwo, are equal? ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers