News:

Check PGG's Instagram and I'll check your Instagram too!

Main Menu

programming

Started by carpediem, January 10, 2011, 10:19:40 PM

Previous topic - Next topic

Hitad

hmmm... seems like major steps I can think of:

1. create an array based on the denominations given.
2. we need to loop through that array.
3. add same number to self (current array) highest value that is less than or equal to 100.
4. if it is higher than 100, change the second addend to the next value in the array based from the current loop until it reaches one

Bukas ko na to gagawin sa php siguro.

Tinatapos ko pa kasi tong premium shopping cart ko lol.

vortex

^^^wow...ano kaya ang mangyari sa akin kapag naging programmer ako?ComSci ako pero sa IT Network ako involved. Hindi ko hate ang programming pero hnd ako nage-excel, madali ako tumigil. Nung college once I was done with the basic ipinapasa ko na sa ka-grupo ko yung ibang task.Sinasabi ko nalang yung dapat maging output then siya mag-execute sa coding. hehehe.Minsan nga naiisip ko parang gusto ko mag-aral ng programming eh.

Hitad

^sundin mo ang iyong puso  :D
Personally, wala akong interes sa programming dati until may prof akong nagbigay ng individual project then ayun parang mejo naging hilig ko na. Bihira lang ako makakita ng compsci grad na ayaw sa programming ah hehehe  8)

carpediem

essential skill na ang programming ngayon. basta may computer, may programming, and computers are everywhere.

vortex

Quote from: Hitad on June 26, 2011, 08:42:25 PM
^sundin mo ang iyong puso  :D
Personally, wala akong interes sa programming dati until may prof akong nagbigay ng individual project then ayun parang mejo naging hilig ko na. Bihira lang ako makakita ng compsci grad na ayaw sa programming ah hehehe  8)
Well siguro Networking ang itinitibok ng puso ko. Eversince nag-job searching ako 2nd choice ko lagi programmer. Hehehe...

vortex

Quote from: carpediem on June 26, 2011, 09:14:32 PM
essential skill na ang programming ngayon. basta may computer, may programming, and computers are everywhere.
siguro nga,uy just to share lang,naka-graduate ako nung College kahit walang computer. Buti nakapasa ako as Intern sa ICT Center namin kaya dun ako gumagawa ng ibang Programs(Minimal to average lang). Wala sa may kung may computer iyan o wala eh nasa determination na rin  :D. May isa pa akong classmate na walang computer pero isa siya sa nag-e-excel sa amin sa programming. Gumagawa nga siya ng codes thru pen and paper(tapos trace lang ng output).hahaha...wala lang share ko lang.

Hitad

@carpediem LOL I tried the problem you just provided but I felt lazy figuring out the logic. Bubble sort made my brain suffer for an hour eto pa kaya. Tinamad na 'ko hahaha maybe elgimikero can answer that  ;D

I researched about it and it's a part of the compsci books called number partition.
I hope I could learn those theories. Somehow I would like to pursue Computer Science as well!

eLgimiker0

@hitad: ahaha, balak ko sanang gawin kahapon kaya lang, meron pumasok sa isip ko na iba. btw, sana magawa ko this week.eheh, at hindi ako magaling magprogram. ahahah. si maykel ang magaling  :D

carpediem

@Hitad: Ah, ano ba yung course mo? Why do you want programming work? Medyo mahihirapan ka nga if you just started programming.

Actually di ko alam na it's called number partitioning, although I suspect that there must be math in it, probably in permutations/combinations. Common yung problem sa compsci, about change-making problems.

Hitad

Information Technology.
Hindi naman ako starter sa programming. Been programming 2 years na.
Yung mga pinag-aaralan namin ay hindi talaga as intensive sa compsci since hindi lang
programming ang coverage ng IT.
Compsci is more on theories talaga.
We only use higher level languages which compsci people develop.


carpediem

^ I see. So you studied stuff like system analysis and design, project management, database systems, etc.

Hitad

#191
^
Yep. Some boring subjects like Management of Information Systems. Meron din yata sa compsci ang SAD?
Naalala ko na naman yang subjects na yan, minamalas ako sa groupings plus procrastination.
Therefore late submission of projects  ;D

eLgimiker0

carpe, im more on SAD, dBase system. hingi sana ako ng advice sayo kung ano yung maganda practice pagdating sa paggawa ng mga system. microsoft product pala ang mga gamit ko.


@hitad: comsci din ako, pero wala akong SAD, pero naenroll ko sya sa hindi inaasahan pagkakataon.

vortex


vortex

Quote from: Hitad on June 28, 2011, 10:34:33 PM
^
Yep. Some boring subjects like Management of Information Systems. Meron din yata sa compsci ang SAD?
Naalala ko na naman yang subjects na yan, minamalas ako sa groupings plus procrastination.
Therefore late submission of projects  ;D
Thesis at Methods of Research ng CompSci ata ang katumbas ng SAD/SSD sa IT. Student ka pa lang po ba?Or working?Saan? :D