السلام عليكم
هذا السؤال ممكن أحد يشرحه لي ؟
أدري ممكن يكون سهل بس مخي مقفل اليوم :(
1. Write a program that print the final price of purchase at a store where everything costs exactly one dollar. Ask for the number of items purchased. Compute a sales tax of:
· 8 percent if the users purchase is less than $100
· 7.5 percent if the purchase is greater or equal to $100.
· //Also if the purchase is over $500, give the customer an additional 10 percent after-tax discount.
· Print the purchase price, the amount of tax, the amount of the discount ($0.00 if no discount applies) and the total price.
· Output:
Enter number of items purchased= 60
وكمان فيه في واجب lab 5 السؤال اللي قبل الأخير اللي فيه أرقام ومدري ايش
السؤال اللي قبل الفاول لترز ، ماني فاهمه ايش المطلوب فيه :(