The input is expected to have multiple test cases .However, there is no mention how to decide the number of test cases. Please guide me!
Continue processing test cases until there aren’t any more to process. Until you get EOF in other words.