Initial Commit

This commit is contained in:
root
2023-10-23 18:07:52 +00:00
commit 1923748144
11 changed files with 126 additions and 0 deletions

13
main.cpp Normal file
View File

@@ -0,0 +1,13 @@
#include <iostream>
using namespace std;
// hole_calc(volume, diameter)
extern "C" double hole_calc(double, double);
int main()
{
double diameter, volume;
cout << "Please enter the diameter in in, press enter and then the volume in cubic feet, and press enter again." << endl;
cin >> diameter >> volume;
cout << "Dig hole to " << hole_calc(volume, diameter) << " in deep." << endl;
return 0;
}