Can someone please explain to me how many times the line \"result = 1\" in the \
ID: 3594891 • Letter: C
Question
Can someone please explain to me how many times the line "result = 1" in the "j" loop is suppose to execute?
Explanation / Answer
Outer for loop will run from 0 to 9 i.e. 10 times
Second loop runs from 1 to 9 i.e 9 times
So result = 1 will run 10*9 = 90 times, which is not there in option , So none of these..
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.