Skip to content

perryd01/v-gcd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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