SHARE
TWEET

laba3nax

a guest Oct 21st, 2019 69 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main()
  5. {
  6.  system("color 0A");
  7.  printf("m & n \n");
  8.  int m, n, i;
  9.  scanf("%d %d", &m, &n);
  10.  for (m; m <= n; m++){
  11.     printf("\n %d: ", m);
  12.     i = m-1;
  13.     for (i; i > 1; i--){
  14.        if(m%i == 0){
  15.         printf("%3d  ", i);
  16.        }
  17.        }
  18.  
  19.     }
  20.  getch();
  21. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top