Question: First Two Digits You are given an array consisting of n integers. Calculate the sum of the array and print the first two digits. If
First Two Digits
You are given an array consisting of integers. Calculate the sum of the array and print the first two digits. If the sum of the array is a singledigit number, prefix to it
Input
The first line of input contains an integer representing the number of elements in the given array.
The second line of input contains spaceseparated integers, representing the elements of the given array.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
