Sum of elements at even indices | Product of elements at odd indices | java arrays | icse | computer

Опубликовано: 18 Апрель 2022
на канале: Learn Easily - By Anurag
593
49

This video contains detailed solution of following question:-

Write a program in Java to input 10 integers and save them in a single dimensional
array.Perform the following task:

(a)Print the elements of the array on a single line followed by space
(b)Compute and print the sum of elements at even indices
(c) Compute and print the product of elements at odd indices

Link of bluej solution is    • Sum of elements at even indices | Pro...