|
no curly brackets after the if statements, so it produces the first output, which is the brown-carbon monoxide. Since it fulfills the if statement, the else if's are disregarded and the app terminates (or goes to another function in main, determining on what your program does).
|