Java-calculating the sum of last two numbers in a line of x numbers

The input is a x number of numbers separated by spaces. It has to take the last 2 numbers and calculate their sum. I can only use scanner, int, boolean, while loop, and if loop. Don't really know where to start, so help would be appreciated....

Read More »

By: StackOverFlow - Sunday, 18 November

Related Posts