Search Results

Searching for: if loops

Individual Exercises

0 / 50

Given two integers low and high representing a range, return the sum of the integers in that range. For example, if low is 12 and high is...

0 / 50

Given an array of integers, return the sum of every other value in the array, starting with the first element. For example, if the array...

0 / 50

Given two integers size and num, return an array that can hold size integers and is filled with multiples of num, starting with num. For...

0 / 50

Given an array of integers, swap each pair of adjacent elements starting with the first two. For example, if the array contains the...