Ask Question
15 June, 06:53

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

+2
Answers (1)
  1. 15 June, 07:33
    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?
Find an answer to your question ✅ “Which is a correct way to test whether two variables representing numbers, numOne and numTwo, are equal? ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers