BodyStatus 3.1.0
dotnet add package BodyStatus --version 3.1.0
NuGet\Install-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:
using Bodystatus;
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
programming:
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.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.1.0 | 1,869 | 11/18/2017 |
This version can calculate different ideal weight for each gender.
The calculation function was edited.