The Indigo Restaurant receives 18 online customer reviews. They receive six 5-star reviews, seven 4-star reviews, four 3-star reviews, and one 2-star review. What is the average star rating for Indigo Restaurant based on these reviews?
Total stars for the 5-star rating is 6 x 5 = 
<gadget id="calculator">6*5</gadget>
<output>30</output>
30 stars.
Total stars for the 4-star rating is 7 x 4 = 
<gadget id="calculator">7*4</gadget>
<output>28</output>
28 stars.
Total stars for the 3-star rating is 4 x 3 = 
<gadget id="calculator">4*3</gadget>
<output>12</output>
12 stars.
Total stars for the 2-star rating is 1 x 2 = 
<gadget id="calculator">1*2</gadget>
<output>2</output>
2 stars.
Total stars received is 30 + 28 + 12 + 2 = 
<gadget id="calculator">30+28+12+2</gadget>
<output>72</output>
72.
Average rating is 72 / 18 = 
<gadget id="calculator">72/18</gadget>
<output>4</output>
4 stars.

<result>4</result>