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