Something You Want to Know About Arrays
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How an Array Can Replace Nested Decisions?

+12
Jericho
Myra Monique Acuna
Pox
Lawrence
judedominguiano
airojames
Emie Ligutan
Sean
justjoking10
Sean Monacillo
LouiseSebastianeYagi
iramae
16 posters
Go down
avatar
airojames
Expert
Posts : 14
Join date : 2018-08-03

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Fri Aug 03, 2018 10:47 pm
Mam pwede po bang gawin kong +2 yung sa subset or plus any value para mas mabilis yung loop ng program may other decision naman po na dadaanan para makabili kung meron ng laman yung set na yun edi kasunod naman
sensya na po magulo
avatar
airojames
Expert
Posts : 14
Join date : 2018-08-03

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Fri Aug 03, 2018 10:49 pm
Eto pa pala mam
nakalimutan ko itanong nung discussion
yung nabanggit nyo lang po kasi range ng set sa loob ng array

pwede po bang magsetdin po ng ranger kung hanggang ilang letters or numbers lang pwede itype ng user?
iramae
iramae
Admin
Posts : 139
Join date : 2018-07-19
Age : 25
https://iramaecomp.forumotion.com

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Sat Aug 04, 2018 5:31 am
airojames wrote:Mam pwede po bang gawin kong +2 yung sa subset or plus any  value para mas mabilis yung loop ng program may other decision naman po na dadaanan para makabili kung meron ng laman yung set na yun edi kasunod naman
sensya na po magulo

Yes possible naman siya as long as tama kung saan mo siya ilalagay
iramae
iramae
Admin
Posts : 139
Join date : 2018-07-19
Age : 25
https://iramaecomp.forumotion.com

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Sat Aug 04, 2018 5:33 am
airojames wrote:Eto pa pala mam
nakalimutan ko itanong nung discussion
yung nabanggit nyo lang po kasi range ng set sa loob ng array

pwede po bang magsetdin po ng ranger kung hanggang ilang letters or numbers lang pwede itype ng user?

Sa pagkakaalam ko, pwede ka maglimit nun pero ibang process yung gagawin mo
avatar
airojames
Expert
Posts : 14
Join date : 2018-08-03

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Sat Aug 04, 2018 5:33 am
iramae wrote:
airojames wrote:Mam pwede po bang gawin kong +2 yung sa subset or plus any  value para mas mabilis yung loop ng program may other decision naman po na dadaanan para makabili kung meron ng laman yung set na yun edi kasunod naman
sensya na po magulo

Yes possible naman siya as long as tama kung saan mo siya ilalagay

Salamat po

Sent from Topic'it App
iramae
iramae
Admin
Posts : 139
Join date : 2018-07-19
Age : 25
https://iramaecomp.forumotion.com

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Sat Aug 04, 2018 7:37 am
airojames wrote:
iramae wrote:
airojames wrote:Mam pwede po bang gawin kong +2 yung sa subset or plus any  value para mas mabilis yung loop ng program may other decision naman po na dadaanan para makabili kung meron ng laman yung set na yun edi kasunod naman
sensya na po magulo

Yes possible naman siya as long as tama kung saan mo siya ilalagay

Salamat po

Sent from Topic'it App

Welcome Smile
avatar
airojames
Expert
Posts : 14
Join date : 2018-08-03

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Sat Aug 04, 2018 6:03 pm
Lah? Pwede pala gamitin tong array sa quiz namin about minutes, hours and seconds?

Sent from Topic'it App
iramae
iramae
Admin
Posts : 139
Join date : 2018-07-19
Age : 25
https://iramaecomp.forumotion.com

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Sat Aug 04, 2018 7:11 pm
airojames wrote:Lah? Pwede pala gamitin tong array sa quiz namin about minutes, hours and seconds?

Sent from Topic'it App

yes pwede siya XD pinahirapan lang yata kayo sa una kaya alan niyo na ah XD
judedominguiano
judedominguiano
Expert
Posts : 10
Join date : 2018-08-08

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Wed Aug 08, 2018 9:05 am
I think that the given flowchart is always true when talking about array. I mean that's the one we can always use.
iramae
iramae
Admin
Posts : 139
Join date : 2018-07-19
Age : 25
https://iramaecomp.forumotion.com

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Thu Aug 09, 2018 7:43 am
judedominguiano wrote:I think that the given flowchart is always true when talking about array. I mean that's the one we can always use.

I Agree but not always Smile
Lawrence
Lawrence
Expert
Posts : 10
Join date : 2018-08-11

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Sat Aug 11, 2018 8:00 pm
LouiseSebastianeYagi wrote:Ma’am, based po dun sa problem na ibinigay about sa time, applicable padin po ba ang array dun imbis na gamitin yung nested loop?

Sent from Topic'it App
i think applicable siya pre. mas madali ata siya kapag nag array tayo
Pox
Pox
Expert
Posts : 10
Join date : 2018-08-11

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Sat Aug 11, 2018 8:31 pm
airojames wrote:Mam pwede po bang gawin kong +2 yung sa subset or plus any value para mas mabilis yung loop ng program may other decision naman po na dadaanan para makabili kung meron ng laman yung set na yun edi kasunod naman
sensya na po magulo

Pwede nman pre
Dba nga sabi pwedeng +99 agad yung sticker count

Sent from Topic'it App
Pox
Pox
Expert
Posts : 10
Join date : 2018-08-11

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Sat Aug 11, 2018 8:33 pm
airojames wrote:Lah? Pwede pala gamitin tong array sa quiz namin about minutes, hours and seconds?


Pwede nga pre sayang pinahirapan tayo hahaha

Sent from Topic'it App
Pox
Pox
Expert
Posts : 10
Join date : 2018-08-11

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Sat Aug 11, 2018 8:34 pm
airojames wrote:Eto pa pala mam
nakalimutan ko itanong nung discussion
yung nabanggit nyo lang po kasi range ng set sa loob ng array

pwede po bang magsetdin po ng ranger kung hanggang ilang letters or numbers lang pwede itype ng user?

Pwede naman siguro pre wala naman imposible sa programing
Kaso d pa natin alam yung process hahaha

Sent from Topic'it App
Myra Monique Acuna
Myra Monique Acuna
Expert
Posts : 17
Join date : 2018-08-05

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Sun Aug 12, 2018 7:33 pm
Pox wrote:
airojames wrote:Eto pa pala mam
nakalimutan ko itanong nung discussion
yung nabanggit nyo lang po kasi range ng set sa loob ng array

pwede po bang magsetdin po ng ranger kung hanggang ilang letters or numbers lang pwede itype ng user?

Pwede naman siguro pre wala naman imposible sa programing
Kaso d pa natin alam yung process hahaha


Hahahaha feeling ko pwede, hintay nalang tayo sa mga susunod na lesson.

Sent from Topic'it App
Myra Monique Acuna
Myra Monique Acuna
Expert
Posts : 17
Join date : 2018-08-05

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Sun Aug 12, 2018 7:38 pm
Pox wrote:
airojames wrote:Lah? Pwede pala gamitin tong array sa quiz namin about minutes, hours and seconds?


Pwede nga pre sayang pinahirapan tayo hahaha


Kaya nga pre e. Ganon talaga, dumadarating talaga yung araw na narerealize natin na "dapat pala ganto ginawa ko."

Sent from Topic'it App
Myra Monique Acuna
Myra Monique Acuna
Expert
Posts : 17
Join date : 2018-08-05

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Sun Aug 12, 2018 7:40 pm
Lawrence wrote:
LouiseSebastianeYagi wrote:Ma’am, based po dun sa problem na ibinigay about sa time, applicable padin po ba ang array dun imbis na gamitin yung nested loop?

i think applicable siya pre. mas madali ata siya kapag nag array tayo

Pwede naman ata, as long na structured yung pagkakaprogram.

Sent from Topic'it App
Myra Monique Acuna
Myra Monique Acuna
Expert
Posts : 17
Join date : 2018-08-05

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Sun Aug 12, 2018 7:41 pm
iramae wrote:
airojames wrote:Lah? Pwede pala gamitin tong array sa quiz namin about minutes, hours and seconds?


yes pwede siya XD pinahirapan lang yata kayo sa una kaya alan niyo na ah XD

Sad naman nun ma'am. Pero thank you po sa knowledge! 😍

Sent from Topic'it App
Myra Monique Acuna
Myra Monique Acuna
Expert
Posts : 17
Join date : 2018-08-05

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Sun Aug 12, 2018 7:56 pm
Sean wrote:
iramae wrote:
Sean wrote:
justjoking10 wrote:If may array po maam na
Array[3] = (price1, price2, price3)
then Array[0] = price1
variable po b ung Array[0]?
Alam ko pre dapat Array[1] = price1 dapat yan pre kasi diba dapat mas malaki yung number size ng array kesa sa element na nasa loob ng array


Ayy lilinawin ko ah,
Array [3]=price1,price2,price3
Array[0]=price1

bakit? Kase sa Array[3] , yung 3 jan, ayan yung bilang kung ilan ang laman ng array mo, sa normal na pagbibilang, ibig sabihin magbibilang ka simula 1. Kaya naging Array[0] yung price one kase di ba yung element ng array mo, nasa memory, kapag memory, magbibilang ka mula 0 kaya naging Array[0] yung price1
sa pagkakaintindi ko po kasi ma'am yung Array[1] po yung [1] is yung number po ng element na nasa loob . Pero po yung pagbibilang po ng element ng array is simula sa 0 po .


Yung [3] yung size, kung ilan yung laman ng array na yun, pero kapag i-count na siya magiging Array[0] = price1

Sent from Topic'it App
iramae
iramae
Admin
Posts : 139
Join date : 2018-07-19
Age : 25
https://iramaecomp.forumotion.com

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Sun Aug 12, 2018 10:05 pm
Myra Monique Acuna wrote:
iramae wrote:
airojames wrote:Lah? Pwede pala gamitin tong array sa quiz namin about minutes, hours and seconds?


yes pwede siya XD pinahirapan lang yata kayo sa una kaya alan niyo na ah XD

Sad naman nun ma'am. Pero thank you po sa knowledge! 😍

Sent from Topic'it App

Maraming ways talaga sa isang problem perp kelangan naten himayin isa isa Smile Welcome Smile
judedominguiano
judedominguiano
Expert
Posts : 10
Join date : 2018-08-08

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Wed Aug 15, 2018 8:03 am
Myra Monique Acuna wrote:
Sean wrote:
iramae wrote:
Sean wrote:
justjoking10 wrote:If may array po maam na
Array[3] = (price1, price2, price3)
then Array[0] = price1
variable po b ung Array[0]?
Alam ko pre dapat Array[1] = price1 dapat yan pre kasi diba dapat mas malaki yung number size ng array kesa sa element na nasa loob ng array


Ayy lilinawin ko ah,
Array [3]=price1,price2,price3
Array[0]=price1

bakit? Kase sa Array[3] , yung 3 jan, ayan yung bilang kung ilan ang laman ng array mo, sa normal na pagbibilang, ibig sabihin magbibilang ka simula 1. Kaya naging Array[0] yung price one kase di ba yung element ng array mo, nasa memory, kapag memory, magbibilang ka mula 0 kaya naging Array[0] yung price1
sa pagkakaintindi ko po kasi ma'am yung Array[1] po yung [1] is yung number po ng element na nasa loob . Pero po yung pagbibilang po ng element ng array is simula sa 0 po .


Yung [3] yung size, kung ilan yung laman ng array na yun, pero kapag i-count na siya magiging Array[0] = price1

Sent from Topic'it App
variable ang price 1, ang array[0] kumbaga para siyang position na gagamitin mo para magamit mo sa operators si price1.
with the given, price1 could be any number, but array[0] is always the price1.
judedominguiano
judedominguiano
Expert
Posts : 10
Join date : 2018-08-08

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Wed Aug 15, 2018 8:04 am
Pox wrote:
airojames wrote:Lah? Pwede pala gamitin tong array sa quiz namin about minutes, hours and seconds?


Pwede nga pre sayang pinahirapan tayo hahaha

Sent from Topic'it App
maraming talagang paraan sa programming haha
iramae
iramae
Admin
Posts : 139
Join date : 2018-07-19
Age : 25
https://iramaecomp.forumotion.com

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Thu Aug 16, 2018 7:17 am
judedominguiano wrote:
Pox wrote:
airojames wrote:Lah? Pwede pala gamitin tong array sa quiz namin about minutes, hours and seconds?


Pwede nga pre sayang pinahirapan tayo hahaha

Sent from Topic'it App
maraming talagang paraan sa programming haha

May mga mas madali pang way para sa ganyang problem Smile
avatar
Emie Ligutan
Expert
Posts : 13
Join date : 2018-08-03

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Thu Aug 16, 2018 10:24 am
Dba pwede pong maglagay ng maraming array?
Pano po kung gusto kong sa isang array iba ung prices tapos sa isa iba din. pwede po bang pagsama samahin yun ?
iramae
iramae
Admin
Posts : 139
Join date : 2018-07-19
Age : 25
https://iramaecomp.forumotion.com

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

Thu Aug 16, 2018 10:30 am
Emie Ligutan wrote:Dba pwede pong maglagay ng maraming array?
Pano po kung gusto kong sa isang array iba ung prices tapos sa isa iba din. pwede po bang pagsama samahin yun ?

Yes, possible siyang pagsama-samahin, pero with the use of MULTIDIMENSIONAL ARRAY na siya. Next lesson, madidiscuss yun XD
Sponsored content

How an Array Can Replace Nested Decisions? - Page 3 Empty Re: How an Array Can Replace Nested Decisions?

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