Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #107.70K
Ranked #4K
~168 People Reached
This member's community profile is only visible to logged in members until they have earned 15 reputation points.
Favorite Forums
Favorite Tags
java x 1

1 Posted Topic

Member Avatar for cleve23

Are u checking for the counter value? It will be always 1, irrespective of the input you provide. As the condition in the inner for loop will satisfy only once, to get the exact value of the counter, initialize the value of counter above the outer loop, as the counter …

Member Avatar for ashishyete
0
168

The End.