Why is my while loop not working. I want to keep decreasing thevalue of x in order to integrate the function but it does not workand it keeps on either pronting the same value of x or decreasingit only once?

int
PayPal Gateway not configured
PayPal Gateway not configured