i have run the code in cb ide they are working properly but in this they r showing the incorrect answer.