Page 1 of 1

19. Rewrite the following code segment using a multiple- selection statement in the following languages: if ((k == 1) ||

Posted: Fri May 20, 2022 1:41 pm
by answerhappygod
19 Rewrite The Following Code Segment Using A Multiple Selection Statement In The Following Languages If K 1 1
19 Rewrite The Following Code Segment Using A Multiple Selection Statement In The Following Languages If K 1 1 (14.65 KiB) Viewed 53 times
19. Rewrite the following code segment using a multiple- selection statement in the following languages: if ((k == 1) || (k == 2)) j = 2 * k - 1 if ((k == 3) 11 (k == 5)) j = 3 + k + 1 if (k == 4) j = 4 + K - 1 if ((k == 6) 11 (k == 7) 11 (k == 8)) j = k - 2 a. CH b. C c. Java d. Python