v-gcd

April 17, 2022 ยท View on GitHub

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))
}

Contents

  1. 1Get Greatest Common Divisor using Vlang
  2. 1.1Usage