Sha256: 3fa32ae57d4e84b5864f796c5d2a9c33ee9bc3c91b1c80f01cd83f8a88f8e667

Contents?: true

Size: 619 Bytes

Versions: 213

Compression:

Stored size: 619 Bytes

Contents

"
" Determine if a triangle is equilateral, isosceles, or scalene.
"
" An equilateral triangle has all three sides the same length.
"
" An isosceles triangle has at least two sides the same length.
" (It is sometimes specified as having exactly two sides the
" same length, but for the purposes of this exercise we'll say
" at least two.)
"
" A scalene triangle has all sides of different lengths.
"

function! Equilateral(triangle) abort
  " your code goes here
endfunction

function! Isosceles(triangle) abort
  " your code goes here
endfunction

function! Scalene(triangle) abort
  " your code goes here
endfunction

Version data entries

213 entries across 213 versions & 1 rubygems

Version Path
trackler-2.2.1.98 tracks/vimscript/exercises/triangle/triangle.vim
trackler-2.2.1.97 tracks/vimscript/exercises/triangle/triangle.vim
trackler-2.2.1.96 tracks/vimscript/exercises/triangle/triangle.vim
trackler-2.2.1.95 tracks/vimscript/exercises/triangle/triangle.vim
trackler-2.2.1.94 tracks/vimscript/exercises/triangle/triangle.vim
trackler-2.2.1.93 tracks/vimscript/exercises/triangle/triangle.vim
trackler-2.2.1.92 tracks/vimscript/exercises/triangle/triangle.vim
trackler-2.2.1.91 tracks/vimscript/exercises/triangle/triangle.vim
trackler-2.2.1.90 tracks/vimscript/exercises/triangle/triangle.vim
trackler-2.2.1.89 tracks/vimscript/exercises/triangle/triangle.vim
trackler-2.2.1.88 tracks/vimscript/exercises/triangle/triangle.vim
trackler-2.2.1.87 tracks/vimscript/exercises/triangle/triangle.vim
trackler-2.2.1.86 tracks/vimscript/exercises/triangle/triangle.vim
trackler-2.2.1.85 tracks/vimscript/exercises/triangle/triangle.vim
trackler-2.2.1.84 tracks/vimscript/exercises/triangle/triangle.vim
trackler-2.2.1.83 tracks/vimscript/exercises/triangle/triangle.vim
trackler-2.2.1.82 tracks/vimscript/exercises/triangle/triangle.vim
trackler-2.2.1.81 tracks/vimscript/exercises/triangle/triangle.vim
trackler-2.2.1.80 tracks/vimscript/exercises/triangle/triangle.vim
trackler-2.2.1.79 tracks/vimscript/exercises/triangle/triangle.vim