Page 1 of 1

9) The following code should print whether a given integer is odd or even: switch (value % 2 ) { case 0: printf("Even in

Posted: Mon Jun 06, 2022 5:11 pm
by answerhappygod
9 The Following Code Should Print Whether A Given Integer Is Odd Or Even Switch Value 2 Case 0 Printf Even In 1
9 The Following Code Should Print Whether A Given Integer Is Odd Or Even Switch Value 2 Case 0 Printf Even In 1 (289.83 KiB) Viewed 18 times
identify and correct the syntax and logical errors in each please.
9) The following code should print whether a given integer is odd or even: switch (value % 2 ) { case 0: printf("Even integer\n" case 1: printf("Odd integer\n" ); }