From 51ca16384a891ce28e47e9325d7118730f7708cb Mon Sep 17 00:00:00 2001 From: Vlad Muresan Date: Tue, 26 Mar 2019 14:29:38 +0200 Subject: [PATCH] Add instructions to readme --- README.md | 57 ++++++++-------------------------------------- subjects/README.md | 57 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+), 48 deletions(-) create mode 100644 subjects/README.md diff --git a/README.md b/README.md index e45837b..6678d8b 100644 --- a/README.md +++ b/README.md @@ -1,54 +1,15 @@ # Internship 2019 -

Bring me the money

+

Instructions

-**Given a user situated in location A, and 4 ATMS such that:** -1. The distance from userA to each ATM is: - 1. 5m to ATM 1 - 2. 1h to ATM2 - 3. 30m to ATM3 - 4. 45m to ATM4 -2. The distance between ATMs is: - 1. From ATM 1 -> ATM 2: 40m - 3. FROM ATM 1 -> ATM 4: 45m - 4. FROM ATM 2 -> ATM 3: 15m - 5. FROM ATM 3 -> ATM 1: 40m - 6. FROM ATM 3 -> ATM 4: 15m - 7. FROM ATM 4 -> ATM 2: 30m +1. Fork the repository with the internship subjects from Coera to your account: https://github.com/Coera/internship2019 + (todo add link more details) +2. Clone the forked repository from your Github account +E.g. +3. Go to **subjects** folder and read carefully the instructions for the subject allocated to you +4. Write an application as specified in the subject requirements. +5. Commit & push the code to your forked repository +6. Create a Pull Request from your repository to the original one (from where your forked it) -3. Each ATM has the same amount of money (5k), and: - | ATM Name | Opening time | Closing time | - |----------|--------------|--------------| - | ATM 1 | 12:00 | 18:00 | - | ATM 2 | 10:00 | 17:00 | - | ATM 3 | 22:00 | 12:00 | - | ATM 4 | 17:00 | 01:00 | - -4. User has 3 credit cards: - - | Credit card | Fee | Withdraw limit | Expiration date| Available Amount | - |-------------|------|----------------|----------------|------------------| - | SILVER | 0.2% | 2k | 23.05.2020 | 20k | - | GOLD | 0.1% | 3k | 15.08.2018 | 25k | - | PLATINUM | 0% | 4k | 20.03.2019 | 3k | - -5. Current date and time is: *19th March, 2019 - 11:30* - -**Please write an application using Java/C# that:** -1. Determines what ATMs the user needs to use in order to withdraw 7.5k amount until 14:00 time with smallest fee available, -using only valid credit cards (that are not expired at the current date), -without passing through the same location twice. -Processing time for each ATM is negligible. - -The application should implement the following method: - - public List getAtmsRoute() { - // TODO: add your code here - } - - -**Note:** - -*All dates are in the same timezone.* diff --git a/subjects/README.md b/subjects/README.md new file mode 100644 index 0000000..1f942da --- /dev/null +++ b/subjects/README.md @@ -0,0 +1,57 @@ +# Internship 2019 subjects + +

Bring me the money

+ +**Given a user situated in location A, and 4 ATMS such that:** +1. The walking time to reach each ATM: + + | From | To | Duration (minutes) | + |----------------------|--------------|--------------------| + | User starting point | ATM 1 | 5 | + | User starting point | ATM 2 | 60 | + | User starting point | ATM 3 | 30 | + | User starting point | ATM 4 | 45 | + | ATM 1 | ATM 2 | 40 | + | ATM 1 | ATM 4 | 45 | + | ATM 2 | ATM 3 | 15 | + | ATM 3 | ATM 1 | 40 | + | ATM 3 | ATM 4 | 15 | + | ATM 4 | ATM 2 | 30 | + +2. Each ATM has the same amount of money equal with 5000 lei, and the following schedule: + + | ATM Name | Opening time | Closing time | + |----------|--------------|--------------| + | ATM 1 | 12:00 | 18:00 | + | ATM 2 | 10:00 | 17:00 | + | ATM 3 | 22:00 | 12:00 | + | ATM 4 | 17:00 | 01:00 | + +3. User has 3 credit cards with the following properties: + + | Credit card | Fee | Withdraw limit (lei) | Expiration date| Available Amount (lei)| + |-------------|------|----------------------|----------------|-----------------------| + | SILVER | 0.2% | 4500 | 23.05.2020 | 20000 | + | GOLD | 0.1% | 3000 | 15.08.2018 | 25000 | + | PLATINUM | 0% | 4000 | 20.03.2019 | 3000 | + +4. Current date and time is: *19th March, 2019 - 11:30* + +**Please write an application using either Java or C# programming language in order to:** +1.
Subject code = _INT01_
+ Determine what ATMs and in which order the user needs to access for withdrawing 7500 lei until 19th March, 2019 - 14:00, with smallest fee available, +using only valid credit cards (that are not expired at the current date), +without passing through the same location twice. +Processing time for each ATM is negligible. + +The application should implement the following method: + + public List getAtmsRoute() { + // TODO: add your code here + } + + + +**Note:** + +*All dates are in the same timezone.* \ No newline at end of file