Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int broji(int n)
- {
- int brojac,i;
- for(i=1;i<=n;i++)
- {
- if(n==1);
- brojac++;
- }
- return brojac;
- }
- int main()
- {
- int m;
- scanf("%d",&m);
- printf("%d",broji(m));
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment