/v-gcd

Get Greatest Common Divisor using Vlang

Primary LanguageV

v-gcd

Get Greatest Common Divisor using Vlang

my first ever program with V

Usage

method call

n := gcd.get(12, 20)        //4

example

module main

import perryd01.gcd

fn main(){
	println(gcd.get(2,5))
}