@TS, gusto ka nga mo-increment ang value if mo-press ug e ang user? asa imong code para sa user input?
@darkhero. i dont know what you are trying to show off. The problem has been solved already.
@sideon, programmer ka noh?
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.
now you know![]()
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.
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.
Make it 100% sure - that makes you a reliable person![]()
@darkhero. My bad if id touch your ego. I know you have a good intention. Peace man!
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.
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]
Similar Threads |
|