I’m able to get the correct answer when I run the program in the compiler. I tested the program in other compilers as well. I get a correct answer. But when I submit the answer it says wrong answer. I looked at others programs as well. they are very straight forward and I can tell you my program is correct. Can anyone please help me with this issue.
Thanks in advance,