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

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

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

Post 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 53 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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply