Problem in programming

Dear Mark
Thank you for your reply. Kindly be informed that the variable p and b >=0.
Best Regards
log