summaryrefslogtreecommitdiff
path: root/Broken Project.cp
diff options
context:
space:
mode:
Diffstat (limited to 'Broken Project.cp')
-rw-r--r--Broken Project.cp31
1 files changed, 31 insertions, 0 deletions
diff --git a/Broken Project.cp b/Broken Project.cp
new file mode 100644
index 0000000..7e40fda
--- /dev/null
+++ b/Broken Project.cp
@@ -0,0 +1,31 @@
+
+
+
+#include <iostream>
+#define PI = 3.14;
+using namespace std;
+
+
+int main()
+{
+ int volume = 0;
+ int Radius = 0;
+ int Height = 0;
+
+
+ cout << "Enter Radius";
+ cin >> Radius;
+
+ cout << "Enter Height";
+ cin >> Height;
+
+ volume = 3.14 * Radius * Height;
+
+ cout << "The volume of the cylinder is approximately" << volume << std::endl;
+
+
+ return 0;
+
+}
+
+