Welcome to My Blog 👋

Java, Spring Framework, Microservices, Docker, Kubernetes, AWS and Others 🚀
Follow Me
Showing posts with label revursive obeb. Show all posts
Showing posts with label revursive obeb. Show all posts

Scala dilinde 2 integer sayı alıp bu sayıların obeb'ini döndüren recursive fonksiyon

def obeb(a:Int,b:Int):Int={

    if(b==0) a;
    else obeb(b,a%b);
}