Problem 2 from 52 programming problems book

I was using code blocks but it was giving me compiler error for c++11 was not on the list so i tried ideone’s compiler and got the correct result

Here is the problem solution link:

It would be a great help, if you support by sharing :)
Author: zakilive

Leave a Reply

Your email address will not be published. Required fields are marked *