Computer Science, asked by victorsampanneer, 5 months ago

A grocer has a sale of Rs. 6435,
Rs. 6927, Rs. 6855, Rs. 7230
and Rs. 6562 for 5 consecutive
months. How much sale must he
have in the sixth month so that he
gets an aveage sale of Rs. 6500.
Variables: int m1,m2,m3,m4,m5,avg
sale,totalsale,reqsale,month; float
avg;
2.40​

Answers

Answered by kingkunal2005
0

Explanation: Total sale for 5 months = Rs. (6435 + 6927 + 6855 + 7230 + 6562) = Rs. 34009.

Required sale = Rs.[(6500 x 6) - 34009]

= Rs. (39000 - 34009)  

= Rs.  4991.

hoo gotcha

Similar questions