Code is not giving correct output

code is not giving correct output

@ishikagoel8218
Please provide your code here, using codingblocks online ide