Circle_Area

Crates.ioCircle_Area
lib.rsCircle_Area
version0.1.4
sourcesrc
created_at2023-08-01 04:57:56.503103
updated_at2023-08-18 05:39:21.997996
descriptioncircle of area function
homepage
repository
max_upload_size
id931454
size1,471,793
AMIT PATEL (Amitpatel7090)

documentation

README

Circle Area Crate

This is a collection of some generally used math functions.

Installation

To use this crate in your Rust project, add the following line to your Cargo.toml file:

[dependencies]
Circle_Area = "0.1.0"

Or

you can simply run this camand in your terminal cargo add Circle_area.

Use

Here is the preview of main.rs file:

use Circle_Area::circle_area;     
fn main(){
  // circle area
println!("Area of the 5.0 redius circle is:{}",circle_area(5.0));
//rect area
println!("Area of the  Rectengle is:{}",rectangle_are(5.0,4.5));
}


Commit count: 0

cargo fmt