Coding Blocks compiler correct answer but code block shows output as 1. Why?
Compiler shows only one answer
Try using return 0, rest code seems fine. You may also check for C++ compiler version.
Coding Blocks compiler correct answer but code block shows output as 1. Why?
Try using return 0, rest code seems fine. You may also check for C++ compiler version.