hey guys this c++ code which needed to convert to asm and when user enter 2000 the clock shoud show lest then 5 sec....
for (a=0; a<=y; a++)
for (b=0; b<=y/2; b++)
for (c=0; c<=y/3; c++)
if ((a + 2*b + 3*c) == y)
this is the question
solution for the equation a + 2b + 3c = y, where a, b, c, y are natural numbers
(0,1,2,....). Given the value of y, the program find out all the possible cobinations of a, b and
c. and after i convert to asm there is eror in divide..
Related Article:please translate Pseudo Code to C++
is a C++ discussion thread by ryl294 that has 1 reply, was last updated 2 months ago and has been tagged with the keywords: translate, this, pseudo, code, to, c++.