Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions file-exercises/src/Main.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
//TIP To <b>Run</b> code, press <shortcut actionId="Run"/> or
// click the <icon src="AllIcons.Actions.Execute"/> icon in the gutter.
public class Main {
public static void main(String[] args) {
//TIP Press <shortcut actionId="ShowIntentionActions"/> with your caret at the highlighted text
// to see how IntelliJ IDEA suggests fixing it.
System.out.printf("Hello and welcome!");

for (int i = 1; i <= 5; i++) {
//TIP Press <shortcut actionId="Debug"/> to start debugging your code. We have set one <icon src="AllIcons.Debugger.Db_set_breakpoint"/> breakpoint
// for you, but you can always add more by pressing <shortcut actionId="ToggleLineBreakpoint"/>.
System.out.println("i = " + i);
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
package fr.epita.files.launcher.datamodel;

public class Passenger {

private int passengerId;

private int Survived;

private int Pclass;

private String Name;

private String Sex;

private double Age;

private int siblingAndSpouces;

private int ParentAndChildren;

private String Ticket;

private Double Fare;

private String Cabin;

private String Embarked;




}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package fr.epita.files.launcher;
package fr.epita.files.launcher.launcher;

import java.io.File;
import java.io.IOException;
Expand Down
6 changes: 6 additions & 0 deletions geometry/src/fr/epita/geometry/datamodel/Square.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package fr.epita.geometry.datamodel;

public class Square {


}
2 changes: 2 additions & 0 deletions geometry/src/fr/epita/geometry/datamodel/Triangle.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ public Triangle(double height, double base, double sideA, double sideB) {
this.sideB = sideB;
}

double totalTriangleArea =

public double calculateArea(){
return this.base * this.height / 2;
}
Expand Down