I've been posting relatively hard challenges recently, so here goes an easy one. Task Given an array A and a number n, calculate the sum of all numbers of A multiplied by n, except the last one. All numbers (the elements of A and the value of n) are positive integers, and A is non-empty. Shortest...