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