Question: Write a C language program that prints the numbers from the given array, that are divisible by 3 The output should be one number per

Write a C language program that prints the numbers from the given array, that are divisible by 3

The output should be one number per line, no spaces before or after the numbers:

3

15

33

... (all the numbers in the array that are divisible by 3) Fill the section just below the comment that says: "// your code goes here:"

#include

// Write a c language program that prints the numbers in the array that are // divisible by 3. //The output should be one number per line, no spaces before or after the numbers: //1 //2 //3 //...

int array[] = {1, 3, 15, 22, 33, -10, 12, -9, -15, 0 };

void main() { // your code goes here:

}

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!