Skip to content

Repository files navigation

Fetch-Coding-Exercise

This repository contains my coding exercise for Fetch. To make it I used Java and the OpenCSV library. I hope you like it!

How to Run

You can run this code through your terminal.

First, make sure you have Java and JVM installed on your computer.

You can check by typing java -version and javac -version into your terminal

Then, clone this repository and run the following commands

javac TransactionAccounter.java
java TransactionAccounter <points> <csv file>

To run the tester methods, run the following commands

If you are using bash(mac and linux): export CLASSPATH=./opencsv-5.7.1.jar:$CLASSPATH
If you are using swift(windows): $env:CLASSPATH="./opencsv-5.7.1.jar;" + $env:CLASSPATH
javac TransactionTester.java
java TransactionTester

About

My submission for the Fetch Rewards coding exercise

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages