Install-Package BodyStatus -Version 3.1.0
dotnet add package BodyStatus --version 3.1.0
<PackageReference Include="BodyStatus" Version="3.1.0" />
paket add BodyStatus --version 3.1.0
#r "nuget: BodyStatus, 3.1.0"
// Install BodyStatus as a Cake Addin #addin nuget:?package=BodyStatus&version=3.1.0 // Install BodyStatus as a Cake Tool #tool nuget:?package=BodyStatus&version=3.1.0
To use this library you should add this namespace at the top of your code:
After that, as I wrote in description section, we have two functions to calculate men's and women's status with a weight suggestion separately; if you want to use these features, call these functions:
Call.MCalculator(); -For men
Call.WCalculator(); -For women
Each of those functions accepts 3 string type of variables as their arguments, let me describe them:
Weight - String ⇒ will convert to integer
Height - String ⇒ will convert to integer
Age - String ⇒ will convert to integer
The upper functions will return a sentence that includes body status with weight suggestion; otherwise, you should print the returned values on display and it will be something like this on
Console.WriteLine(Call.Calculator(Weight,Height,Age)); -The output will something like this: "Your status is very good, Our suggestion is 88 Kilograms."
If there was any question, please contact the project URL.
This package has no dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.
This version can calculate different ideal weight for each gender.
The calculation function was edited.