10th Program
10th Program
Output-
Variable Name Data type Description
main() - -
evenSum int To store sum of all even
numbers
oddSum int To store sum of all odd
numbers
num int[] Variable of an Array to
store the numbers
i int Loop variable