parthpanchal3399 / Capgemini-ADAPT-Stage-2

Capgemini ADAPT Stage 2 Programs
71 stars 35 forks source link

Update Source.java #7

Closed razorcalhn closed 3 years ago

razorcalhn commented 3 years ago

Hey bro. I know the code you provided gave 100 marks on submission but the logic was a bit off when I tested it with the Main method by creating objects. Here I corrected it, changed the if else statements and the regex expression. Anyway you're doing a great job, keep it up.

parthpanchal3399 commented 3 years ago

Hey! I know some of the logic wouldn't make sense because of the way they had designed the test cases. There was a lot of ambiguity in question and what was actually expected. Hence I only added the code that gave 100 points. But anyways thanks for updating and making the code better. Keep it up!

razorcalhn commented 3 years ago

Yeah, I get it. I just did the question where in the test case there was "Exccception" .😂 I can understand.

On Tue, Jun 1, 2021, 9:11 PM Parth Panchal @.***> wrote:

Hey! I know some of the logic wouldn't make sense because of the way they had designed the test cases. There was a lot of ambiguity in question and what was actually expected. Hence I only added the code that gave 100 points. But anyways thanks for updating and making the code better. Keep it up!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/parthpanchal3399/Capgemini-ADAPT-Stage-2/pull/7#issuecomment-852228878, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALNLAHPEQAJRXWDRO4OGFCTTQT5RTANCNFSM4545XS7A .