Example of the Decision Table IF statement in C language
Note the use of brace brackets {} to enclose multiple statements, where needed.
The order of the tests is very important. Testing for less than must proceed from smallest to largest. Testing for greater than must proceed from largest to smallest.
noise_print(int noise_db)
else if ( noise_db <= 70 )
else if ( noise_db <= 90 )
else if ( noise_db <= 110 )
printf(very annoying\n);
printf(\nNoise level %d ,
printf(is uncomfortably loud!\n);