TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Pruthvi Patel
NA
129
23.5k
Split array in group of n element.
Sep 29 2016 5:20 AM
I have one array called ans[i].
ans[i]={1 2 3 4 5 6 7 8 9 10 11 12 13 14 } //n no.of inputed element.
and i want to split in group of 3 and sum of 3-3 elements and stored it in array.Like this
res[0]=6
res[1]=15
res[2]=24....like this.
Reply
Answers (
2
)
Run windows tray application when system boots up
Split an array in n elements and sum like below.