Saturday, August 16, 2008

ISC 2007 Decimal to Binary conversion through Recursion

Link for Downloading Full Program C++ version

void recursive(int x)

  {
  int m=x%2;
  x=x/2;
  if(x>0) recursive(x);
  z=z*10+m;
  }

2 comments:

Anonymous said...

marvelous!!!!!!!!!!!!!!!!!!!
marvelous!!!!!!!!!!!!!!!!!!!
marvelous!!!!!!!!!!!!!!!!!!!
marvelous!!!!!!!!!!!!!!!!!!!
marvelous!!!!!!!!!!!!!!!!!!!
marvelous!!!!!!!!!!!!!!!!!!!
marvelous!!!!!!!!!!!!!!!!!!!
marvelous!!!!!!!!!!!!!!!!!!!
marvelous!!!!!!!!!!!!!!!!!!!
marvelous!!!!!!!!!!!!!!!!!!!

Anonymous said...

beyond expectation of mine!!!@##$$
beyond expectation of mine!!!@##$$
beyond expectation of mine!!!@##$$
beyond expectation of mine!!!@##$$
beyond expectation of mine!!!@##$$
beyond expectation of mine!!!@##$$beyond expectation of mine!!!@##$$
beyond expectation of mine!!!@##$$vvv
v
v
beyond expectation of mine!!!@##$$beyond expectation of mine!!!@##$$