C/C++ Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingC/C++ Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old March 4th, 2004, 03:00 PM
robbidan robbidan is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 1 robbidan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Post Solve this c++ (2 dimansional array) program



Write a c++ program to calculate a commission report for EZ Tech corporation. They have 5 sales people. Your program should ask the user to input 3 sales for each salesperson. Add the sales for each salesperson and calculate the commission. The commission is given by using the following information:



a) For the 1st $1000.00, the rate is 5% (0.05)

b) B) For the next $2500.00, the rate is 7% (0.07)

c) If over $2500.00, then the commission rate is 9% (0.09)



PS: You must use 2-Dimensional ARRAY for this program.



Your output should look like this:



Name

Sale1

Sale2

Sale3

Totals

Commission

Xxxxx

Xxxxx

Xxxxx

Xxxxx

Xxxxx

Xxxxx

Total

Xxxxx

Xxxxx

Xxxxx

Xxxxx

Xxxxx





email results to clive_r_2000@yahoo.com

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingC/C++ Help > Solve this c++ (2 dimansional array) program


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway