Question: Given an array of elements of integer types, print the last 3 elements of the array named my _ array to stdout. They should all

Given an array of elements of integer types, print the last 3 elements of the array named my_array to stdout. They should all be on one line.
Example:
myarray =[1,2,3,4,5]
The last three elements are 3,4,5. The answer is printed to stdout as "345", without quotes.
Sample Case 0
Sample Input For Custom Testing
512345
Sample Output
345
Explanation
The output is the join of the last 3 elements of the my_array

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!