fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main(void) {
  4. int n,m;
  5. int n1,m1;
  6. scanf("%d %d",&n,&m);
  7. int i=1,j=1;
  8. while(i<=100/n){
  9. n1=n*i;
  10. while(j<=100/m){
  11. m1=m*j;
  12. if(m1==n1){
  13. printf("%d ",n1);
  14. break;
  15. }
  16. j++;
  17. }
  18. i++;
  19. }
  20.  
  21.  
  22. return 0;
  23. }
  24.  
  25.  
  26.  
  27. return 0;
  28. }
  29.  
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
6
9
compilation info
prog.c:27:2: error: expected identifier or ‘(’ before ‘return’
  return 0;
  ^~~~~~
prog.c:28:1: error: expected identifier or ‘(’ before ‘}’ token
 }
 ^
stdout
Standard output is empty