Challenge for Biggest Pair

Challenge

Given an array of integers ar, find and print the largest sum of two consecutive integers. For example, given {1,2,4,5,2,6}, print 9, the sum of 4+5. (Print each sum on its own line.)

Please sign in or sign up to submit answers.

Alternatively, you can try out Learneroo before signing up.

Contact Us
Sign in or email us at [email protected]