Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- #include <ctype.h>
- int main() {
- for(int i = 3; i <= 1000; i++) {
- if(i % 3 == 0) { // ostatokot pri delenje na brojot i so 3 e ednakov na 0
- printf("%d ", i);
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement