Naka initialize kasi ang H mo sa 0. So pag negative ang number di magchange ang value ng H.
Ang gawin mong initial value ng H at L is ung first na integer. So icheck mo if x == 1, if true,
iassign mo ang value ng H at L as num. Else icompare mo.
Since 2 years have passed since the last reply in this thread, I am locking it to prevent necroposting. Feel free to start a new thread or contact any forum staff if you want this to be reopened.