My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 2: Wrong output when first input > second input (i > j)
1 person starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  joys...@gmail.com
Closed:  Jun 2009


 
Project Member Reported by joys...@gmail.com, Jun 9, 2009
What steps will reproduce the problem?
1. If the segment where 'i' is compared with 'j' is removed

What is the expected output? What do you see instead?
Wrong output (0)


//Please use labels and text to provide additional information.




Jun 9, 2009
Project Member #1 joys...@gmail.com
Issue solved by:

   if (j <= i) {
	ip = j; 
	jp = i;
   }

and using ip and jp, instead of i and j.


Jun 9, 2009
Project Member #2 joys...@gmail.com
(No comment was entered for this change.)
Status: Fixed

Powered by Google Project Hosting