Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
Doing homework and I'm stuck (Fragments)
Philip Harris
9y
739
1
Reply
I am having trouble interpreting how to write this fragment?
sum<--0
for i from 1 to n
sum <-- sum -1
for j from 1 to i
sum <-- sum + 2
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Voice Recognition
As a good programmer which types of algorithm i must know?