josiftepe

Untitled

Dec 21st, 2020
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.30 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6.     int n,temp;
  7.     scanf("%d", &n);
  8.  
  9.     for(temp=1;temp<=n;temp++)
  10.     {
  11.         if (n%temp==0)
  12.             printf("Brojot e deliv so brojot %d",temp);
  13.         else
  14.             printf("Brojot ne e deliv\n");
  15.     }
  16.  
  17.     return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment