Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 32
  1. #11

    Quote Originally Posted by dodie View Post
    here's my contribution. :P
    Code:
    int a=1;         // remove comma bai.
    for(i=1;i<=10;i++){      //   INCREMENT  oi.... hahahah
    
        if(a==i){
           a++;          // unsay gamit ani?????
           value+=value; // wala ka colon :P  wala declare? assume ta
        }
    
        if(x=='e')      // assume ta sa x
           i++;
    
    }
    a2ts murag dira ranako nabutangan og comma ahahahah..kai sa prog ni run man xD...and ang if ra dyud ang akong saup
    then as ive said dili dyud na ang whole code heheheh..
    wala nako ge increment kai di ko ganahan mo update kung dli sya mo pislit og e
    og thx ni cebugdev

  2. #12
    @TS, gusto ka nga mo-increment ang value if mo-press ug e ang user? asa imong code para sa user input?

  3. #13
    @darkhero. i dont know what you are trying to show off. The problem has been solved already.

  4. #14
    @sideon, programmer ka noh?

    Quote Originally Posted by na_adik View Post
    dli lageh mo update ang 'a'..
    (ga problema ko ani kay even di ko mo press sa e mo update dyaponn ang value )
    Quote Originally Posted by na_adik View Post
    int a=1;

    for(i=1;i<=10;i){

    if(a==i);
    {
    a++;
    value+=value;
    }

    if(x=='e')
    i++;
    unsa mana ang x? asa mana gikan? how about ang a, unsa may role ana sa iyang program, as in necessary jud na? how about ang ang value?

    nangita ko niya ug additional code kay na-curious ra ko bro sa complete form kay para nko dili ra ba efficient ang dating.

    basin maka-suggest pa diay ko nga instead of for loop iyang gamiton, while loop na lang kay tutal wa man niya gamita ang third control loop expression sa for loop niya which, by the way, semi-obfuscated na hinuon. or unsa ba kaha pwede nko lain ika-suggest para ma-improve iyang code.

    Quote Originally Posted by sideon View Post
    i dont know what you are trying to show off...
    now you know

  5. #15
    I am right, youre just showing off!

    I know that code has a lot of flaws, but you shouldnt be bother solving it - the case is close, the client already accepts the solution. Dont complicate it, u are just wasting your time.

  6. #16
    showing off? wa ka naka-gets unsa dapat nimo mahibaw-an bro? dapat ka maka-realize nga naa ko noble intentions mao nangutana pa ko sa TS, ikaw bro murag vile man kau imong intentions.

    dili ko sure as in 100% pero murag suyaon man tingali ka nga pagkatawo? i hope not.

  7. #17
    Make it 100% sure - that makes you a reliable person

  8. #18
    @darkhero. My bad if id touch your ego. I know you have a good intention. Peace man!

  9. #19
    kabalo man ko nga wala ka nka-gets mao naka-ingon2x ka nga show off

    ni-explain ra pud ko bro kay naglamlam man gud na imong baba dra, niabot pa ka ug showing off showing off saon na lang.

  10. #20
    Actually i know what you're talking like you'll use while instead of for.
    Let me elaborate it. for loop can also be use without the third statement even without first and second statement, e.g. infinite loop for ( ; ; ) The advantage of for loop is the scooping (enscapsulation) of your variable, you can be sure that it can only be change within the loop.

    [edited: semi-colon followed by close parenthesis convert to smiley automatically]

  11.    Advertisement

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

 
  1. Replies: 13
    Last Post: 07-23-2012, 09:01 PM
  2. USB dli mo detect
    By intheb0x in forum Computer Hardware
    Replies: 9
    Last Post: 09-23-2007, 07:22 AM
  3. Help.. Dli mo basa ang usa ka RAM
    By baju83 in forum Computer Hardware
    Replies: 7
    Last Post: 05-21-2007, 09:59 AM
  4. unsay blema if dli mo detect ang floppy A & Drive E.
    By beeee in forum Computer Hardware
    Replies: 3
    Last Post: 12-06-2006, 09:07 AM
  5. PC dli mo-boot
    By chiQay in forum Computer Hardware
    Replies: 24
    Last Post: 11-18-2005, 07:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top