SAP interview question

Build a guessing game with ai