Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 522 Bytes

File metadata and controls

34 lines (23 loc) · 522 Bytes

Triangle (C++)

< Home

Given the file triangle.h, write the implementation for the Triangle class inside triangle.cpp.

Examples

./triangle
# Triangle
# Sides: 37.7156, 31.4852, 25.288
# Perimeter: 94.4888
# Area: 394.677
# Equilateral: 0
# Isosceles: 0
# Scalene: 1
# Test passed
# ...

Grade command

This is the command to set up the grader in RamDesk.

./triangle

RamDesk Grade Configuration

Make sure to enble the task "Make" with location "Root".