Вы используете устаревший браузер. Этот и другие сайты могут отображаться в нём некорректно. Вам необходимо обновить браузер или попробовать использовать другой.
switch (csgo->missedshots[idx] % 4) {
case 3:
// 7 / 4 = 1 (remainder 3 (7 - 4*1)), where is 1 - is a quotient of division
break;
case 2:
// 6 / 4 = 1 (remainder 2 (6 - 4*1)), where is 1 - is a quotient of division
break;
case 1:
// 5 / 4 = 1 (remainder 1 (5 - 4*1)), where is 1 - is a quotient of division
break;
case 0:
// 4 / 4 = 1 (remainder 0 (4 - 4*1)), where is 1 - is a quotient of division
break;
}
simply, the number after the % indicates how many cases you want to consider
have a nice day
switch (csgo->missedshots[idx] % 4) {
case 3:
// 7 / 4 = 1 (remainder 3 (7 - 4*1)), where is 1 - is a quotient of division
break;
case 2:
// 6 / 4 = 1 (remainder 2 (6 - 4*1)), where is 1 - is a quotient of division
break;
case 1:
// 5 / 4 = 1 (remainder 1 (5 - 4*1)), where is 1 - is a quotient of division
break;
case 0:
// 4 / 4 = 1 (remainder 0 (4 - 4*1)), where is 1 - is a quotient of division
break;
}
simply, the number after the % indicates how many cases you want to consider
have a nice day