From 339548c8630dc68ea78318229c98a923b14ff33f Mon Sep 17 00:00:00 2001 From: Shrushti <92021777+hackkbee@users.noreply.github.com> Date: Wed, 2 Feb 2022 14:46:53 +0530 Subject: [PATCH 1/4] AreaCalculation.java --- AreaCalculation.java | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 AreaCalculation.java diff --git a/AreaCalculation.java b/AreaCalculation.java new file mode 100644 index 0000000..ab72bff --- /dev/null +++ b/AreaCalculation.java @@ -0,0 +1,25 @@ +class Shape +{ + void area(int length, int breadth) + { + System.out.println("Area of Rectangle: "+length*breadth); + } + void area(double radius) + { + System.out.println("Area of Circle: "+3.14*radius*radius); + } + void area(float base, float height) + { + System.out.println("Area of Triangle: "+0.5*base*height); + } +} +class Calculation +{ + public static void main(String args[]) + { + Shape od=new Shape(); + od.area(8,5); + od.area(4.9); + od.area(9,7); + } +} \ No newline at end of file From cadcccf3af7a771ce90c5042bec0c8d9a7f09f8a Mon Sep 17 00:00:00 2001 From: Shrushti <92021777+hackkbee@users.noreply.github.com> Date: Tue, 22 Feb 2022 09:37:05 +0530 Subject: [PATCH 2/4] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0e8605c..06d3315 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,3 @@ # 2feb2022 Demo for bca bscit sem 4 +hiiii!!!!!! We are connecting jenkins to Github From b77abb876bcee2a51ad0710fb6ca5ba8f62e8560 Mon Sep 17 00:00:00 2001 From: Shrushti <92021777+hackkbee@users.noreply.github.com> Date: Wed, 2 Mar 2022 13:55:10 +0530 Subject: [PATCH 3/4] Add files via upload --- LargestNumberSample.java | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 LargestNumberSample.java diff --git a/LargestNumberSample.java b/LargestNumberSample.java new file mode 100644 index 0000000..4de1ce2 --- /dev/null +++ b/LargestNumberSample.java @@ -0,0 +1,11 @@ +import java.util.Arrays; +public class LargestNumberSample { + public static void main(String args[]){ + int array[] = {10, 20, 25, 63, 96, 57}; + int size = array.length; + Arrays.sort(array); + System.out.println("sorted Array ::"+Arrays.toString(array)); + int res = array[size-1]; + System.out.println("largest element is ::"+res); + } +} \ No newline at end of file From cc917d3392f311512af582e5bace523af33115b4 Mon Sep 17 00:00:00 2001 From: Shrushti <92021777+hackkbee@users.noreply.github.com> Date: Wed, 2 Mar 2022 13:58:58 +0530 Subject: [PATCH 4/4] Add files via upload