Advertisement
Aseron

lkkt

Nov 19th, 2016
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. int lkkt(int nev1,int nev2){
  2. int lkk;
  3. int i;
  4. if(nev1>=nev2){
  5. for(i=1;(i*nev2)%nev1==0;i++){
  6. lkk=i*nev2;
  7. }
  8. return lkk;
  9. }
  10. else if(nev2>=nev1){
  11. for(i=1;(i*nev1)%nev2==0;i++){
  12. lkk=i*nev1;
  13. }
  14. return lkk;
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement