An open API service indexing awesome lists of open source software.

https://github.com/jeremytubongbanua/sofe3650u-tut3


https://github.com/jeremytubongbanua/sofe3650u-tut3

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

# How to Run

On non-UNIX machine:

```sh
javac org/sofe3650u/tut3/Main.java
java org.sofe3650u.tut3.Main
```

On a UNIX machine:
```sh
./run.sh
```

Make sure to be in the root directory when running these commands (aka same level as `data.txt`)

## Example Output

```sh
jeremytubongbanua@Jeremys-MacBook-Air sofe3650u-tut3 % ./run
.sh
Please enter a product ID (e.g. "0"):
1
Product found with id 1:
ProductID: 1 ProductName: apple
jeremytubongbanua@Jeremys-MacBook-Air sofe3650u-tut3 % ./run
.sh
Please enter a product ID (e.g. "0"):
2
Product found with id 2:
ProductID: 2 ProductName: banana
```