Problems
Java FileInputStream
Java FileInputStream
Input is a data file. Read bytes and find their sum
Input
Sequence of bytes.
Output
Print the sum of bytes.
Explanation
Sample input has three bytes with ASCII codes 1, 2 and 3. Their sum is 6.
Input example #1
Output example #1
6