الله يعافيكم ويعطيكم الصحه ممكن تساعدوني بحل هذه الأسئله
السؤال الأول:
write asmple program determine the area of a trapezoid
note that:
area of trapezoid=(base1+base2)*height\2.0
السؤال الثاني:
write asmple program to determine rate of seller commission based on number of sales.
note that:
the rate of seller commission is 8 if the number_sales less than quota,12 if the number_sales over than quota,16 if the number_sales equal the quota
note than:
quota=15
commission=number_sales*rate