From 13f9553a26a51b95ab194e5328ad302b35d7b118 Mon Sep 17 00:00:00 2001 From: Sudipto Mallick Date: Thu, 25 Jan 2024 05:50:05 +0000 Subject: Complete Java assignments --- java/output/CuboidCalculations.typ | 6 ++++++ java/output/EmployeeDisplay.typ | 7 +++++++ java/output/ParentWithTwoChildren.typ | 4 ++-- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 java/output/CuboidCalculations.typ create mode 100644 java/output/EmployeeDisplay.typ (limited to 'java/output') diff --git a/java/output/CuboidCalculations.typ b/java/output/CuboidCalculations.typ new file mode 100644 index 0000000..28593ef --- /dev/null +++ b/java/output/CuboidCalculations.typ @@ -0,0 +1,6 @@ +#import "/template.typ": highlight-output +#highlight-output[``` +Surface area of the Cuboid: 94 +Volume of the Cuboid: 60 +```] + diff --git a/java/output/EmployeeDisplay.typ b/java/output/EmployeeDisplay.typ new file mode 100644 index 0000000..9891423 --- /dev/null +++ b/java/output/EmployeeDisplay.typ @@ -0,0 +1,7 @@ +#import "/template.typ": highlight-output +#highlight-output[``` +Employee named "Kim Ji-hyung" with ID 87416846. +Scientist named "Daniel Lemire" with ID 14534, 80 publications and 25 years of experience. +Distinguished scientist named "Donald Ervin Knuth" with ID 11, 185 publications, 60 years of experience and awardee of Grace Murray Hopper Award (1971), Turing Award (1974), National Medal of Science (1979), John von Neumann Medal (1995), Harvey Prize (1995), Kyoto Prize (1996), Faraday Medal (2011). +```] + diff --git a/java/output/ParentWithTwoChildren.typ b/java/output/ParentWithTwoChildren.typ index de253ec..0fb3ff1 100644 --- a/java/output/ParentWithTwoChildren.typ +++ b/java/output/ParentWithTwoChildren.typ @@ -2,8 +2,8 @@ #highlight-output[``` Parent: ID: 1, Name: John Doe, Address: 123 Main St. ChildOne: ID: 2, Name: Jane Doe, Address: 456 Elm St. - Marks: 85 + Marks: 85 ChildTwo: ID: 3, Name: Mike Smith, Address: 789 Oak St. - Qualification: B.Tech, Salary: 50000.0 + Qualification: B.Tech, Salary: 50000.0 ```] -- cgit 1.4.1-2-gfad0