We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I think this code will not work currectly becouse user will insert whatever value then it will not check second condition becouse in case of OR if first condition is true then it will not check second condition. I hope you have understood
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Java If-Else
You are viewing a single comment's thread. Return to all comments →
I think this code will not work currectly becouse user will insert whatever value then it will not check second condition becouse in case of OR if first condition is true then it will not check second condition. I hope you have understood