please go through my code and help me in finding why my code is not working
Code not working
@Gaurav_dev do not use long long int to store return value from pow, use long double, long long int will cause number to be truncated, that can lead to creation of infinte loop.
If this resolves your doubt mark its as resolved.
If this resolves your doubt mark it as resolved.