import java.io.*; public class Sep23 { public static void main(String[] args) { int [] nums = { 34, 100, 10, 6, 14, 1}; System.out.println("Computing sums of consecutive integers from 1 to N for various values of N"); for (int i=0; i