Cognizant interview question

gave two coding questions first one in java for printing fibonacci numbers second one is in python for finding the max element between two numbers