+ 1
"No Output" in C program😞. Please help!
Here's the code I'm writing for a challenge called "Kaprekar's Constant". It's working on other consoles but not here... https://code.sololearn.com/c8s7rpb7E379/?ref=app here's the challenge: https://www.sololearn.com/learn/6575/?ref=app
3 ответов
+ 1
Good eye Gordie!
Shashi Ranjan you are not initializing the variable 'i' in bigger.
That is causing the problem.
+ 2
Thank you guys!
It worked!😁
0
@Gordie I don't think there's anything to do with the "pow()" 'coz it's working fine with int. See it here:
https://code.sololearn.com/c8jXdE6YA4ql/?ref=app