Java program that reads a line of integers, and displays each integer, and the sum of all the integers ( uses StringTokenizer class of java.util)
OUTPUT:
Enter integers with one space gap: 10 20 30 40 50 10 20 30 40 50 sum of the integers is: 150
Write a java program that read a line of integer, and then displays each integer, and the sum of all the integers ( use StringTokenizer class of java.util)