Share
Go down
avatar
Guru
Posts : 10
Join date : 2018-08-01
View user profile

Re: The WHILE loop

on Fri Aug 17, 2018 6:33 pm
Asparin wrote:
Bermon O. Ferreras Jr wrote:maam pwede po ba namin magamit yung while or for ? sa isang question ? or nakadepende lang po sa tanung ?

Di ko alam kung ano ang pinagkaiba ng question sa tanung pero nakadenpende ang paggamit ng type of loop sa ibinigay na tanung.

Bale ang pinag kaiba ng "Question" sa "Tanong" is magkaibang language sila. Charot

De, ano. (Tingin ko) Hindi pwede. Kapag For, For lang. Kapag While, While lang. Pero pwede mag karoon ng For loop sa loob ng Whille loop, and vice-versa.
Nested loop bale.

Sana natumbok.
avatar
Guru
Posts : 10
Join date : 2018-08-01
View user profile

Re: The WHILE loop

on Fri Aug 17, 2018 6:35 pm
Jericho wrote:Do all programming language have a common things ?????

I think, one is common logic. Not sure if there is more.
avatar
Guru
Posts : 10
Join date : 2018-08-01
View user profile

Re: The WHILE loop

on Fri Aug 17, 2018 6:38 pm
Jericho wrote:
Jericho wrote:Do all programming language have a common things ?????
meron ata pre.

BWAHAHAHHAAHAAHAHAAHAHAHHAHAAH
avatar
Guru
Posts : 10
Join date : 2018-08-01
View user profile

Re: The WHILE loop

on Fri Aug 17, 2018 6:42 pm
Lhexmhar wrote:ano po bang Mas gamit na gmit na LOOPING po ? Very Happy

(Tingin ko) Iba-ibang sagot yung makukuha, depende sa tao. May sasagot ng For. May sasagot din ng While. Pero parang walang survey na ginawa para malaman ano mas ginagamit ee.
avatar
Guru
Posts : 10
Join date : 2018-08-18
View user profile

Re: The WHILE loop

on Sun Aug 19, 2018 9:30 pm
justjoking10 wrote:
myramonique wrote:Kaya nga po sir e. Kaso di po namin masyadong alam kung paano gagamitin 😅


Same use lng ng FOR Loop ang WHILE Loop. Mas mahaba lng ang code ng WHILE Loop. Ang WHILE Loop may counter ung FOR Loop nmn wala.

Mas pinaikli ang coding sa FOR LOOP

Sent from Topic'it App
avatar
Guru
Posts : 10
Join date : 2018-08-18
View user profile

Re: The WHILE loop

on Sun Aug 19, 2018 10:43 pm
myramonique wrote:Mas gamit na kasi natin to kaysa sa for loop e 😂😂


Mas sanay na gamitin ang while kesa sa for loop

Sent from Topic'it App
avatar
Guru
Posts : 13
Join date : 2018-08-16
View user profile

Re: The WHILE loop

on Sun Aug 19, 2018 10:46 pm
Oo..

Sent from Topic'it App
avatar
Guru
Posts : 10
Join date : 2018-08-18
View user profile

Re: The WHILE loop

on Sun Aug 19, 2018 10:46 pm
[quote="justjoking10"]
Louise Sebastiane Yagi wrote:Ma’am ano po mas madali gamitin, yung FOR loop or WHILE loop?


Dipende sayo kung saan ka mas sanay. Same function lng nmn ehh. Mas maikli lng ung code ng FOR Loop compared


Depende sa programmer.
Kung saan mas madadalian sila.

Sent from Topic'it App
avatar
Guru
Posts : 10
Join date : 2018-08-18
View user profile

Re: The WHILE loop

on Sun Aug 19, 2018 10:48 pm
justjoking10 wrote:
Louise Sebastiane Yagi wrote:Eh ang kaso kasi, madalas ginagamit ang while loop eh pero mas madali yung for loop, bakit?


Hindi sya mas madali. Mas maikli lng ung code. Same lng den nmn ng content ehh. May initial and final value. Tapos may pang alter ka. Counter tsaka Step Value.


Pinaikli lang ang code sa for loop.
Pero parehas lang naman sila.

Sent from Topic'it App
avatar
Guru
Posts : 10
Join date : 2018-08-18
View user profile

Re: The WHILE loop

on Sun Aug 19, 2018 11:02 pm
justjoking10 wrote:
myramonique wrote:Kaya nga po sir e. Kaso di po namin masyadong alam kung paano gagamitin 😅


Same use lng ng FOR Loop ang WHILE Loop. Mas mahaba lng ang code ng WHILE Loop. Ang WHILE Loop may counter ung FOR Loop nmn wala.

Pareho lang kapag ginawa, mas maikli lang talaga sa for loop

Sent from Topic'it App
avatar
Guru
Posts : 10
Join date : 2018-08-18
View user profile

Re: The WHILE loop

on Sun Aug 19, 2018 11:05 pm
justjoking10 wrote:
Louise Sebastiane Yagi wrote:Eh ang kaso kasi, madalas ginagamit ang while loop eh pero mas madali yung for loop, bakit?


Commonly used lng ung WHILE Loop. And for me mas madali tignan ang code nya mas flexible pa. Khit mas mahaba mas nadadalian ako s WHILE Loop.

Thankyou po sa mga new information

Sent from Topic'it App
Sponsored content

Re: The WHILE loop

Back to top
Permissions in this forum:
You cannot reply to topics in this forum