Rewrite the following code segment using multiple-selection statement in C++, Java, or C#.
Rewrite the following code segment using multiple-selection statement in C++, Java, or C#. if (( k == 1 ) || ( k == 2 )) j = 2 * k – 1 if (( k == 3 ) || ( k == 5 )) j = 3 * k + 1 if […]