Skip to content

Ranchoneetoo26/triangle-area

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

Calculate Triangle Area - 2024

🌎 Paraná, Brazil

GitHub - number of languages Repository Size Made by Guilherme Brogio GitHub - last commit

✔️ Project state 🚀 finished, yet... ✔️

📄 Index

✨ Features

  • 📖 given a height and base of a triangle calculate the area

📜 About

I created this project to train my knowledge with the C language. With the project started, the user enters the values ​​for the base of a triangle, then is asked for a height for this triangle. With all these values ​​stored, the code calculates the area of ​​a triangle (b * h / 2), and returns a message to the user saying: "the value of the area is: < value of the area >".

👌 Prerequisites

Before getting started, you need to have the following tools installed on your computer:
a C compiler like gcc.

📦 Clone / Install

Clone project:

  $  git clone https://github.com/Ranchoneetoo26/triangle-area.git

Run code:

  $  gcc main.c -o main
  $  ./main

code will run in your cli.

👤 Contact


Antonio Neto

Made of 💙 by Antonio Neto

Gmail Badge