Hope we all do well Insha'Allah! Umm, cactus and Wayne, ur algorithm had a litlle problem. U have to increment the count within the loop. Like after the endcase. u must write " count= count +1 " because otherwise the count will never become 30!....lol.
I thought u were speaking of the other '97 algorithm for the 20 and 10 dollar notes. That's harder...