Question: Consider the array called myArray declared below that contains positive and negative integers. Write a loop statement to count and display the number of integers

 Consider the array called myArray declared below that contains positive and

Consider the array called myArray declared below that contains positive and negative integers. Write a loop statement to count and display the number of integers in the array that are not divisible by 3. That is, your loop should display the message "Number of integers not divisible by 3 is 8". Pts:5 int myArrayll-1,3,9,91,40,4,-5,100,20,-23); Note: The loop should always work without modification even if the values in the array are changed.0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!