summary refs log tree commit diff stats
path: root/java/output/CircularBaseExample.typ
diff options
context:
space:
mode:
authorSudipto Mallick <smlckz@termux-alpine>2024-01-28 06:38:55 +0000
committerSudipto Mallick <smlckz@termux-alpine>2024-01-28 06:38:55 +0000
commitfc4d96a9e3e20f8ddf035c16fc32b1effb75481b (patch)
tree4e13b2606e94e2098d1a288b051603cfc36d983b /java/output/CircularBaseExample.typ
parentcd6a9243c056710794549a1ab5d51fbdd082ce2e (diff)
downloadzadania-fc4d96a9e3e20f8ddf035c16fc32b1effb75481b.tar.gz
Complete all Java assignments
Diffstat (limited to 'java/output/CircularBaseExample.typ')
-rw-r--r--java/output/CircularBaseExample.typ17
1 files changed, 17 insertions, 0 deletions
diff --git a/java/output/CircularBaseExample.typ b/java/output/CircularBaseExample.typ
new file mode 100644
index 0000000..03769ae
--- /dev/null
+++ b/java/output/CircularBaseExample.typ
@@ -0,0 +1,17 @@
+#import "/template.typ": highlight-output
+#highlight-output[```
+$ java CircularBaseExample
+Enter radius of Cone: 5
+Enter height of Cone: 8
+Enter radius of Cylinder: 7
+Enter height of Cylinder: 6
+
+Cone base area: 78.53981633974483
+Cone total area: 204.20352248333654
+Cone volume: 209.43951023931953
+
+Cylinder base area: 153.93804002589985
+Cylinder total area: 571.7698629533423
+Cylinder volume: 923.6282401553991
+```]
+