Writing assignment for compass test

Writing assignment for compass test