https://easyexamnotes.com/define-a-class-to-declare-an-array-of-size-20-of-the-double-datatype-accept-the-elements-into-the-array-and-perform-the-following-calculate-and-print-the-sum-of-all-the-elements/
Define a class to declare an array of size 20 of the double datatype, accept the elements into the array and perform the following: Calculate and print the sum of all the elements.