Unable to get Output

Unable to print the result

hello @rizvibilal10

please save code here-> https://ide.codingblocks.com/
and share the link with me.

https://ide.codingblocks.com/s/284522

declare s and i inside first while .
and print output in first while loop only.

check ur updated code-> https://ide.codingblocks.com/s/284526

Sir this code takes output one by one this one I was getting that one, i need something like this…

it is working na->

Yes Sir,It worked.Thankyou so much.


I have run and checked this code on sublime,it is giving the same output when giving same input,but I am getting test case error.
Please help Sir.!!