smo4291990

15 Reputation

One Badge

8 years, 268 days

MaplePrimes Activity


These are replies submitted by smo4291990

@YasH this is literally my first course with coding, so I'm sorry, but I am very new to all of this.  We have written basic procedures in Maple though, and I think I have a decent understanding of the basics. 

@YasH well what i have tried so far is along the lines of "proc (n) add (x), x= 1..n if x mod 5 = 0 end if end proc". Is this anywhere close to the direction I should be going?  I also considered "proc(n) for x = 1..n do add(x) if x mod 5 = 0 end if end do end proc", but I'm not sure if I'm constructing the do loop correctly.

Page 1 of 1