Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 095276a

Browse files
authored
Merge pull request #3 from Aakreete/main
areaofcircle
2 parents 8932ce2 + 47498e6 commit 095276a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

src/House.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ public class House {
1212
this.toilets = toilets;
1313

1414
}
15+
16+
//methods
1517
void findingArea(){
1618
System.out.println("This is the finding area functions.");
1719
}

src/aakriti/AreaOfCircle.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package aakriti;
2+
3+
public class AreaOfCircle {
4+
double r=5;
5+
double pie=3.5;
6+
double area=pie*r*r;
7+
8+
9+
10+
}

0 commit comments

Comments
 (0)