Kosty_Fomin

Untitled

Feb 19th, 2014
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.35 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. int main(int argc, const char * argv[])
  4. {
  5.     int a=0;
  6.    
  7.     scanf ("%d", &a);
  8.    
  9.     if (a==0) {
  10.        
  11.         printf("%d",0);
  12.        
  13.     }else{
  14.    
  15.     for (int i = 1; i<=0; i++) {
  16.        
  17.         if (a%i==0){
  18.            
  19.         printf("%d",i);
  20.            
  21.         }
  22.       }
  23.     }
  24.     return 0;
  25. }
Advertisement
Add Comment
Please, Sign In to add comment