diff --git a/content/assignments/techjobs-console/task-one/index.md b/content/assignments/techjobs-console/task-one/index.md index 9dce5e6..4d56ad9 100644 --- a/content/assignments/techjobs-console/task-one/index.md +++ b/content/assignments/techjobs-console/task-one/index.md @@ -41,6 +41,12 @@ For the autograding script to correctly grade your code, you'll need to match th If there are no results, it should print `No Results` in the following format: +```console +No Results +``` + +Be sure to use the *exact* message `No Results` taking care to match casing. In full context with prompting, the application will look like this when a user enters a term that would yield no results: + ```console Search term: Example Search Term with No Results @@ -50,8 +56,6 @@ View jobs by (type 'x' to quit): 1 - List ``` -Again, you should use this *exact* message. - {{% notice green Tip "rocket" %}} To do this, you'll need to iterate over an `ArrayList` of jobs. Each job is itself a `HashMap`. While you can get each of the items out of the `HashMap` using the known keys (`employer`, `location`, etc.), think instead about creating a nested loop to loop over each `HashMap`. If a new field is added to the job records, this approach will print out the new field without any updates to `printJobs`.