anchal029 / hackerrank_subtraction_2numbers Goto Github PK
View Code? Open in Web Editor NEWThis project forked from koushikraghav/hackerrank_subtraction_2numbers
Given a pair of positive numbers a and b, the task is to repeatedly subtract the smaller of the two number from the greater one until one of the numbers becomes zero. Write a program to count the number of steps before one of the numbers becomes zero.