Hi everyone,

I am new to C and I have a question about the scanf function.
I want to output a certain code, but only if the first input (scanf) is specific number/letter/word/sentence and the same for the second unput (scanf).

For example:
A certain code only works if (the first input = '3A') and (the second input = '56B').

Could someone tell me how to do this or give me a really simple example.

Thanks in advance!