Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need large amount of help for C Programming classwork
#4
Don't use malloc. That can easily lead to pseudo-dynamic allocation (using the user input to create the size of the array without using malloc. I remember if I did that on any of my C assignments I received a 0 without the ability to contest it). Of course, the choice is up to you guys. Chin

in OutputDecision, I was thinking...

Code:
if numBactAfter <= 0:
  "Will die out"
else if 0 < numBactAfter < numBact
  "Will stay steady
else
  "will grow without bounds"
Reply


Messages In This Thread
Need large amount of help for C Programming classwork - by Fiel - 2009-09-24, 08:42 PM

Forum Jump:


Users browsing this thread: