With the code provided below, the coding blocks IDE shows me 24 errors. But the code works completely fine in Eclipse IDE.
ERROR IN MY CODE
define class Main and then write the functions in it
Defined the main class and the output works well…but the testcases are failing.