Calculate coefficient of rank correlation from the following data

Calculation of Rank Correlation

It indicates that there is moderate degree of positive correlation.