summary refs log blame commit diff stats
path: root/java/output/CircularBaseExample.typ
blob: 03769ae3281fd3c91ad82afbb4133bc3413dfdd8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
```]