Skip to content

(3 XP) Function that calculates area of a triangle from base and height

License

Notifications You must be signed in to change notification settings

AppsLab2019/Open-Lab-01.04

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Open-Lab-01.04 (3 XP)

Function that calculates area of a triangle from foundation and height.

  1. Fork this repository to your GitHub account.
  2. Open solution file in Visual Studio.
  3. Open file Triangle.cs
  4. Implement method Area(double foundation, double height) so that it returns calculated area of triangle.
  5. Run with CTRL+F5 to test it.
  6. If all tests are passed, commit&sync your repository.
  7. Send link to your repository for Lab Master (in #slack) to check it.

Hint:

  • Area of triangle is equal to half of product foundation and height related to the side.
  • Obsah trojuholníka sa rovná jednej polovici súčinu dĺžky strany trojuholníka a výšky prislúchajúcej k tejto strane.

About

(3 XP) Function that calculates area of a triangle from base and height

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages