Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int funkcija(int broj) {
- if(broj % 2 == 0) {
- return 1;
- }
- else {
- return 0;
- }
- }
- int main(int argc, const char * argv[]) {
- int broj = 5;
- int a = funkcija(broj);
- printf("%d\n", a);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement