Monday, July 27, 2009

Software development c++, help?

can you check if these stament is written correctly in c++, and can you tell me what it does?








for (i=1; i%26lt;=9; )


for (i=1; j%26lt;=9; i++)


{


cout %26lt;%26lt; setw(3) %26lt;%26lt; i*j;


j++;}


{


cout %26lt;%26lt; endl;


i++


}

Software development c++, help?
i cant tell what it does, partly because it's not written correctly. The last two french braces in the code seem to serve no purpose. i++ appears to need a semicolon. And you didn't declare any of the variables, which makes it harder to understand the code.
Reply:it is a looping code.. i think this is what it do :





d


do


do n


do no


do not


do not p


do not po


do not pos


do not post


do not post u


do not post ur


do not post ur h


do not post ur ho


do not post ur hom


do not post ur home


do not post ur homew


do not post ur homewo


do not post ur homewor


do not post ur homework


do not post ur homework here!!





i want to put 'assignment' instead of 'homework' but yahoo answer censored my 14th output.. lol


No comments:

Post a Comment