EASY JAVA 02 Alternating sum of array elements class exercise

preview_player
Показать описание
Anothery easy java exercise from the book. Goal is to provide an alternating sum of array elements. For example if it was 1 2 3, then result should be 1 + 2 - 3 = 0. We will create a class and provide few methods to work with array of integers.
=====================================
=====================================
Рекомендации по теме
Комментарии
Автор

How do you make it where the user inputs the array using Scanner Class?

bluereino
join shbcf.ru