Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int lkkt(int nev1,int nev2){
- int lkk;
- int i;
- if(nev1>=nev2){
- for(i=1;(i*nev2)%nev1==0;i++){
- lkk=i*nev2;
- }
- return lkk;
- }
- else if(nev2>=nev1){
- for(i=1;(i*nev1)%nev2==0;i++){
- lkk=i*nev1;
- }
- return lkk;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement