Question: is ai only if statements?
Answer: Any computer program is basically composed of if-else, go-to and arithmetic operations - that's how computer works. So, if you ask about AI in terms of computer programming, there's no difference at all.