The FOR loop
+22
Bermon O. Ferreras Jr
Ferre
Rfrancis03
RicManipon
Jung Kook
Lawrence
Pox
judedominguiano
iramae
Louise Sebastiane Yagi
justjoking10
ilovebts
myramonique
Emie Laide
Sean
michael jhon
airojames
ALEXIS_GAMING
Luwiezzzz
James Navarro
Rhei
daniella
26 posters
- kylenicoleGuru
- Posts : 15
Join date : 2018-08-19
Re: The FOR loop
Sun Aug 19, 2018 12:56 pm
yup ang nested loop ay loop sa loob ng loopAsdfghjkl wrote:rapal wrote:ask ko lang po.rapal wrote:sa loob po ba ng nested loop pwede ba ding magkaroon ng another loop ?
Alam ko kasi ang definition ng nested loop is loop inside the loop so ayun.
Sent from Topic'it App
- michael jhonModerator
- Posts : 6
Join date : 2018-07-31
Re: The FOR loop
Sun Aug 19, 2018 1:00 pm
pwede yun kasi gaya ng sabi nila nested loop ay loop sa loob nag loopkylenicole wrote:yup ang nested loop ay loop sa loob ng loopAsdfghjkl wrote:rapal wrote:ask ko lang po.rapal wrote:sa loob po ba ng nested loop pwede ba ding magkaroon ng another loop ?
Alam ko kasi ang definition ng nested loop is loop inside the loop so ayun.
Sent from Topic'it App
- kylenicoleGuru
- Posts : 15
Join date : 2018-08-19
Re: The FOR loop
Sun Aug 19, 2018 1:01 pm
nope. pwede siya gamitin ilang beses sa isang programjustjoking10 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.
Sent from Topic'it App
- kylenicoleGuru
- Posts : 15
Join date : 2018-08-19
Re: The FOR loop
Sun Aug 19, 2018 1:03 pm
ako din po medyo naguguluhan sa increment at decrement hehemyramonique 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?
Sent from Topic'it App
- michael jhonModerator
- Posts : 6
Join date : 2018-07-31
Re: The FOR loop
Sun Aug 19, 2018 1:04 pm
pwede yun sa lahat ng languagerapal wrote:pwede yata sa lahat yun,,Bermon O. Ferreras Jr wrote:Ferre wrote:Pwede naman ata sa ibang language preRicManipon wrote:is this loop meant for c++ language?
depende sa language pre.. ok madaming yun ehh malay mo z++ pala don hehehehhe
Sent from Topic'it App
- kylenicoleGuru
- Posts : 15
Join date : 2018-08-19
Re: The FOR loop
Sun Aug 19, 2018 1:07 pm
yup pwede siya gamitin sa ibat ibang arraysFerre wrote:Pwede ginawa na naman sa dating activity un. Ung searching ng array looping unRfrancis03 wrote:pwede pobang gamiting ang loop sa ibatibang arrays ?
Sent from Topic'it App
- kylenicoleGuru
- Posts : 15
Join date : 2018-08-19
Re: The FOR loop
Sun Aug 19, 2018 1:11 pm
dipende ata ehhjustjoking10 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.
Sent from Topic'it App
- michael jhonModerator
- Posts : 6
Join date : 2018-07-31
Re: The FOR loop
Sun Aug 19, 2018 1:12 pm
pwede siya base dun sa last activity ata natinkylenicole wrote:yup pwede siya gamitin sa ibat ibang arraysFerre wrote:Pwede ginawa na naman sa dating activity un. Ung searching ng array looping unRfrancis03 wrote:pwede pobang gamiting ang loop sa ibatibang arrays ?
Sent from Topic'it App
- kylenicoleGuru
- Posts : 15
Join date : 2018-08-19
Re: The FOR loop
Sun Aug 19, 2018 1:14 pm
yup walang limit sa programmingLouise Sebastiane Yagi wrote:Para saan yung space? Hindi naman limited sa programming diba?
Sent from Topic'it App
- kylenicoleGuru
- Posts : 15
Join date : 2018-08-19
Re: The FOR loop
Sun Aug 19, 2018 1:16 pm
depende kase pwede naman siya gamitin sa mga ibang language ehBermon O. Ferreras Jr wrote:Ferre wrote:Pwede naman ata sa ibang language preRicManipon wrote:is this loop meant for c++ language?
depende sa language pre.. ok madaming yun ehh malay mo z++ pala don hehehehhe
Sent from Topic'it App
- michael jhonModerator
- Posts : 6
Join date : 2018-07-31
Re: The FOR loop
Sun Aug 19, 2018 1:25 pm
dadag bytes yagi hahahakylenicole wrote:yup walang limit sa programmingLouise Sebastiane Yagi wrote:Para saan yung space? Hindi naman limited sa programming diba?
Sent from Topic'it App
- michael jhonModerator
- Posts : 6
Join date : 2018-07-31
Re: The FOR loop
Sun Aug 19, 2018 1:25 pm
michael jhon wrote:dagdag bytes yagi hahahakylenicole wrote:yup walang limit sa programmingLouise Sebastiane Yagi wrote:Para saan yung space? Hindi naman limited sa programming diba?
Sent from Topic'it App
- kylenicoleGuru
- Posts : 15
Join date : 2018-08-19
Re: The FOR loop
Sun Aug 19, 2018 1:26 pm
thanks sa information guys hahahahaJung 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
Sent from Topic'it App
- kylenicoleGuru
- Posts : 15
Join date : 2018-08-19
Re: The FOR loop
Sun Aug 19, 2018 1:30 pm
sa isang program pwedeng ibat ibang loops ang gamitin as long as nag fufunction siyaRicManipon wrote:sa experience mo po maam ilang loops na po nagamit mo sa isang program?
Sent from Topic'it App
- kylenicoleGuru
- Posts : 15
Join date : 2018-08-19
Re: The FOR loop
Sun Aug 19, 2018 1:31 pm
ganun po pala yun salamat poooojudedominguiano wrote:So bawal na mag Decrement or Increment ang ISANG Loop Control Variable sa loob ng ISANG loop?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.
Sent from Topic'it App
- rapalGuru
- Posts : 13
Join date : 2018-08-16
Re: The FOR loop
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?
- Alliah FaithGuru
- Posts : 10
Join date : 2018-08-18
Re: The FOR loop
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
mas mahaba ang process or pagnagcode ng "while"but for me mas dun po ako sanay.
Sent from Topic'it App
- Alliah FaithGuru
- Posts : 10
Join date : 2018-08-18
Re: The FOR loop
Sun Aug 19, 2018 10:23 pm
kylenicole wrote:yup ang nested loop ay loop sa loob ng loopAsdfghjkl wrote:rapal wrote:ask ko lang po.rapal wrote:sa loob po ba ng nested loop pwede ba ding magkaroon ng another loop ?
Alam ko kasi ang definition ng nested loop is loop inside the loop so ayun.
May loop sa loob ng loop
Sent from Topic'it App
- Alliah FaithGuru
- Posts : 10
Join date : 2018-08-18
Re: The FOR loop
Sun Aug 19, 2018 10:25 pm
kylenicole wrote:dipende ata ehhjustjoking10 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.
Depende pa din
Sent from Topic'it App
- Alliah FaithGuru
- Posts : 10
Join date : 2018-08-18
Re: The FOR loop
Sun Aug 19, 2018 10:26 pm
Same lang ng function ang For at while loop.
Sent from Topic'it App
Sent from Topic'it App
Permissions in this forum:
You cannot reply to topics in this forum
|
|