# Structure Chart

You need to create a structure chart which shows **the main routine (main() function) and all subroutines (other functions).** Likely you will not have many control variables or flags **except for the API request, which will control whether or not you can search the data.**

## Example

The following is an example of the rock collection system (not a real API by the way - but it serves for an example of what your system may look like).&#x20;

<figure><img src="https://115028830-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FhF2chp1dcxIJhlOQSKVq%2Fuploads%2F8We1MdrWGqmOLDboV4L9%2Fimage.png?alt=media&#x26;token=5e2bfad2-93ac-412f-a144-891c8a4d8e52" alt=""><figcaption><p>Example of a Rock Collection System with all subroutines and API Request</p></figcaption></figure>

## Need More Information?

{% content-ref url="../../../charts-and-algorithms/structure-charts" %}
[structure-charts](https://gosford-high-school.gitbook.io/preliminary-software-engineering/unit-1-programming-fundamentals/charts-and-algorithms/structure-charts)
{% endcontent-ref %}
