Write a program in java to enter the amount spend print the gift according

AMOUNT          GIFT 1.>=500                 Key Ring 2.>500&>=1000    Leather Pur…