Page 1 of 1

If x= 10 and y = 8, what will be displayed after the following statements have been executed? if x mod y < y\x then disp

Posted: Sun Jul 10, 2022 11:23 am
by answerhappygod
If X 10 And Y 8 What Will Be Displayed After The Following Statements Have Been Executed If X Mod Y Y X Then Disp 1
If X 10 And Y 8 What Will Be Displayed After The Following Statements Have Been Executed If X Mod Y Y X Then Disp 1 (21.91 KiB) Viewed 54 times
If x= 10 and y = 8, what will be displayed after the following statements have been executed? if x mod y < y\x then display "1" else if x+y<> x*2- 2 then display "2" else if x/2 > y\2 then display "3" endif else endif if x > y + 2 then display "4" else endif endif display "5" Select one: O a. 2 O b. 4 O c. 3 O d. 1 Question 27 Not yet answered Marked out of 1.00 Flag question
Which of the 'if' statements below is the correct one for the following problem statement? To earn a medal in a competition, a participant must cycle at least 20 kilometers and swim 500 meters. Select one: O a. if cycleDist > 20 AND swimDist > 500 then display "July qualifies for a medal" else display "July does not qualify for a medal" endif O b. if cycleDist >= 20 AND swimDist >= 500 then display "July qualifies for a medal" else display "July does not qualify for a medal" endif O c. if cycleDist <> 20 AND swimDist <> 500 then display "July qualifies for a medal else display "July does not qualify for a medal" endif O d. if cycleDist <= 20 AND swimDist <= 500 then display "July qualifies for a medal" else display "July does not qualify for a medal" endif Question 30 Not yet answered Marked out of 1.00 Flag question