How to convert a circuit with three inputs, a, b, and c, and involving two logic gates (OR and AND)? Change the program to support this circuit configuration.
a) Implement nested if statements.
b) Utilize switch-case statements.
c) Integrate XOR gates.
d) Update the code to include AND and OR operations.