Share
Go down
avatar
Guru
Posts : 15
Join date : 2018-08-19
View user profile

Re: The FOR loop

on Sun Aug 19, 2018 12:56 pm
Asdfghjkl wrote:
rapal wrote:
rapal wrote:sa loob po ba ng nested loop pwede ba ding magkaroon ng another loop ?
ask ko lang po.

Alam ko kasi ang definition ng nested loop is loop inside the loop so ayun. 😂

yup ang nested loop ay loop sa loob ng loop 😂😂

Sent from Topic'it App
Moderator
Posts : 6
Join date : 2018-07-31
View user profile

Re: The FOR loop

on Sun Aug 19, 2018 1:00 pm
kylenicole wrote:
Asdfghjkl wrote:
rapal wrote:
rapal wrote:sa loob po ba ng nested loop pwede ba ding magkaroon ng another loop ?
ask ko lang po.

Alam ko kasi ang definition ng nested loop is loop inside the loop so ayun. 😂

yup ang nested loop ay loop sa loob ng loop 😂😂

pwede yun kasi gaya ng sabi nila nested loop ay loop sa loob nag loop

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

Re: The FOR loop

on Sun Aug 19, 2018 1:01 pm
justjoking10 wrote:
airojames wrote:Yung for loop po ba isang beses lang pwede gamitin sa isang program? Wala po kasing sample nya

Pwede sya pre gamitin multiple times sa isang program.
nope. pwede siya gamitin ilang beses sa isang program

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

Re: The FOR loop

on Sun Aug 19, 2018 1:03 pm
myramonique wrote:
justjoking10 wrote:
airojames wrote:Mam kapag while loop po ba laging (<>)not equal gagamitin?


Hindi pre. Pwede any comparison pre. Dipende den kung Increment or Decrement ung ginawa mong loop.

Medyo naguguluhan ako sa increment at decrement. Paano ba nangyayari yun? 😊

ako din po medyo naguguluhan sa increment at decrement hehe

Sent from Topic'it App
Moderator
Posts : 6
Join date : 2018-07-31
View user profile

Re: The FOR loop

on Sun Aug 19, 2018 1:04 pm
rapal wrote:
Bermon O. Ferreras Jr wrote:
Ferre wrote:
RicManipon wrote:is this loop meant for c++ language?
Pwede naman ata sa ibang language pre

depende sa language pre.. ok madaming yun ehh malay mo z++ pala don hehehehhe
pwede yata sa lahat yun,,
pwede yun sa lahat ng language😊

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

Re: The FOR loop

on Sun Aug 19, 2018 1:07 pm
Ferre wrote:
Rfrancis03 wrote:pwede pobang gamiting ang loop sa ibatibang arrays ?
Pwede ginawa na naman sa dating activity un. Ung searching ng array looping un
yup pwede siya gamitin sa ibat ibang arrays

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

Re: The FOR loop

on Sun Aug 19, 2018 1:11 pm
justjoking10 wrote:
airojames wrote:Mam kapag while loop po ba laging (<>)not equal gagamitin?


Hindi pre. Pwede any comparison pre. Dipende den kung Increment or Decrement ung ginawa mong loop.
dipende ata ehh

Sent from Topic'it App
Moderator
Posts : 6
Join date : 2018-07-31
View user profile

Re: The FOR loop

on Sun Aug 19, 2018 1:12 pm
kylenicole wrote:
Ferre wrote:
Rfrancis03 wrote:pwede pobang gamiting ang loop sa ibatibang arrays ?
Pwede ginawa na naman sa dating activity un. Ung searching ng array looping un
yup pwede siya gamitin sa ibat ibang arrays

pwede siya base dun sa last activity ata natin😊

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

Re: The FOR loop

on Sun Aug 19, 2018 1:14 pm
Louise Sebastiane Yagi wrote:Para saan yung space? Hindi naman limited sa programming diba?

yup walang limit sa programming

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

Re: The FOR loop

on Sun Aug 19, 2018 1:16 pm
Bermon O. Ferreras Jr wrote:
Ferre wrote:
RicManipon wrote:is this loop meant for c++ language?
Pwede naman ata sa ibang language pre

depende sa language pre.. ok madaming yun ehh malay mo z++ pala don hehehehhe
depende kase pwede naman siya gamitin sa mga ibang language eh

Sent from Topic'it App
Moderator
Posts : 6
Join date : 2018-07-31
View user profile

Re: The FOR loop

on Sun Aug 19, 2018 1:25 pm
kylenicole wrote:
Louise Sebastiane Yagi wrote:Para saan yung space? Hindi naman limited sa programming diba?

yup walang limit sa programming

dadag bytes yagi hahaha

Sent from Topic'it App
Moderator
Posts : 6
Join date : 2018-07-31
View user profile

Re: The FOR loop

on Sun Aug 19, 2018 1:25 pm
michael jhon wrote:
kylenicole wrote:
Louise Sebastiane Yagi wrote:Para saan yung space? Hindi naman limited sa programming diba?

yup walang limit sa programming

dagdag bytes yagi hahaha


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

Re: The FOR loop

on Sun Aug 19, 2018 1:26 pm
Jung Kook wrote:
justjoking10 wrote:
airojames wrote:Mam pwede po bang gawing sentinel value yung module?
Sa module ko po kasi nandoon po yung list ng mga product kumbaga data base. Kaya gagawin ko po syang sentinel value if ever wala po sya doon sa list magtatype po ulit ng panibago pwede po ba? Kung hindi ano po suggestion nyo?
Natanong lang sensya na po wala pang alam sa mga ganyan


Dipende pre. If may value k ng exit s module mo. Gets ko tanong mo pre ehh. Isip pa ko ng example.

PS. Not sure if tama.

Dalawa na iisip ko.

1.) Sa loob ng module, may Input kung saan dapat mag true yung statement para mag quit.
2.) Sa loob ng module, may variable na na-dadagdagan tapos kapag na meet yung statement mag-ququit.

O kaya, hindi pa natin na tatackle yung ganyan kasi 'di ko ma imagine kung paano ma momodify yung loob ng code through user.
Or 'di ko alam pinag sasasabi ko BWAHAHAAHAHAHHA

PS. Paki tama kung nag kakaintindihan tayo XD
thanks sa information guys hahahaha

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

Re: The FOR loop

on Sun Aug 19, 2018 1:30 pm
RicManipon wrote:sa experience mo po maam ilang loops na po nagamit mo sa isang program?
sa isang program pwedeng ibat ibang loops ang gamitin as long as nag fufunction siya

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

Re: The FOR loop

on Sun Aug 19, 2018 1:31 pm
judedominguiano wrote:
justjoking10 wrote:
Louise Sebastiane Yagi wrote:Tsaka base po dun sa examples na lging nag-iincrement, kailan naman po yung time na pwede siyang mag-decrement?


Increment pag mag add(increase) dba. So gagamitin if low value to high value ka. Example code s stop watch.
Decrement pag mag minus(decrease) dba. So gagamitin if high value to low value ka. Example code s time bomb.
So bawal na mag Decrement or Increment ang ISANG Loop Control Variable sa loob ng ISANG loop?
ganun po pala yun salamat poooo

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

Re: The FOR loop

on Sun Aug 19, 2018 1:57 pm
sa loob po ba ng isang nested loop pwede pa po ba magcreate pa ng maraming loop na nakanest din..? pwede po ba yun? kahit hanggang 10x na nest?
avatar
Guru
Posts : 10
Join date : 2018-08-18
View user profile

Re: The FOR loop

on Sun Aug 19, 2018 10:22 pm
Pagkakaintindi ko po mas maikli po ang for loop sa coding then
mas mahaba ang process or pagnagcode ng "while"but for me mas dun po ako sanay.

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

Re: The FOR loop

on Sun Aug 19, 2018 10:23 pm
kylenicole wrote:
Asdfghjkl wrote:
rapal wrote:
rapal wrote:sa loob po ba ng nested loop pwede ba ding magkaroon ng another loop ?
ask ko lang po.

Alam ko kasi ang definition ng nested loop is loop inside the loop so ayun. 😂

yup ang nested loop ay loop sa loob ng loop 😂😂


May loop sa loob ng loop

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

Re: The FOR loop

on Sun Aug 19, 2018 10:25 pm
kylenicole wrote:
justjoking10 wrote:
airojames wrote:Mam kapag while loop po ba laging (<>)not equal gagamitin?


Hindi pre. Pwede any comparison pre. Dipende den kung Increment or Decrement ung ginawa mong loop.
dipende ata ehh


Depende pa din

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

Re: The FOR loop

on Sun Aug 19, 2018 10:26 pm
Same lang ng function ang For at while loop.

Sent from Topic'it App
Sponsored content

Re: The FOR loop

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