Share
Explore BrainMass

program that contains a function that receives an array of integers of 3 elements

I need a program that contains a function that receives an array of integers of 3 elements. The function must implement a "shift" to the right. For example if the numbers 1 2 3 are entered, after passing to the function the values must be 2 3 1. The program must display the two values.

Solution Summary

A program that contains a function that receives an array of integers of 3 elements is provided.

$2.19