Skip to content

ilhamsurya/GenerasiGigih1.0-Intensive-GeometryCase-II

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Problem Statement

Program can model a line based on points consisting of (x, y) coordinates using the cartesian system and program can calculate its length.

Pre-requisites:

The project needs these dependencies:

  1. JDK 15.0.2
  2. JUnit 5

Instruction:

How To Build

./gradlew build

How To Test

./gradlew test

How to Use the Line Model

int x1 = 1;
int y1 = 2;
int x2 = 3;
int y2 = 4;

double length = line.length(x1, y1, x2, y2);

About

Gojek Mini Bootcamp - Creating library to chech line length

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages