518277356a
- Rename all files, directories, and internal project names to "MedicalLib". - Replace the generic `add` function with a more domain-specific `calculateBMI` function as an initial example of the library's capabilities. - Update the `AGENTS.md` file to describe the new purpose and scope of the MedicalLib library.
12 lines
346 B
C++
12 lines
346 B
C++
#include <iostream>
|
|
#include "MedicalLib/MedicalLib.h"
|
|
|
|
int main() {
|
|
double weight = 70.0; // kg
|
|
double height = 1.75; // meters
|
|
double bmi = calculateBMI(weight, height);
|
|
std::cout << "Weight: " << weight << " kg, Height: " << height << " m" << std::endl;
|
|
std::cout << "Calculated BMI: " << bmi << std::endl;
|
|
return 0;
|
|
}
|