The program must accept N integers as the input. The program must print the sum of integers having the unit digit as 3 or 6 as the output. If there is no such integer then the program must print -1 as ...
The first line contains N. The second line contains N integers separated by a space. The integers having 0 as the unit digit are 20 and 60. So their sum 80 is printed. The integer having 4 as the unit ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results