Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main()
- {
- int data[] = { 3, 2, 15, 5, 9, 8 };
- for (int i = 0; i < 6; i++)
- {
- if (data[i] % 2 == 0)
- printf("yes!\n");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement