Jump to content

computer problem

Featured Replies

Hello guys i need your help to finish my project in computer programming so guys i need your help

 

 

 

problem: the new telephone company has the following rate structure for long-distance calls:

a. The regular rate for a call is $0.40 per minute

b. any call started after 6:00 PM(1800 hours) but before 8:00 AM(0800 hours) is discounted 50%.

c. any call longer than 60 minutes receives a 15% discount.

d. all call are subject to a 4% federal tax on the cost after any discount.

write a program(using turbo c) that take the start time for a call based on aa 24-hour clock and the length if the call in minutes.the gross cost(before any discounts or tax) should be displayed

followed by the net cost(after discount are deducted and tax is added).Use a function to display instructions to the program user, a function to compute the gross cost, and a

separate function to compute each discount amount.

thank you! in advancerolleyes.gif

 

 

 

 

  • 4 weeks later...

Post your unfinished code here, we can't spoon feeding.

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.