Alpha Geek

(8)

$10/per page/Negotiable

About Alpha Geek

Levels Tought:
University

Expertise:
Accounting,Algebra See all
Accounting,Algebra,Architecture and Design,Art & Design,Biology,Business & Finance,Calculus,Chemistry,Communications,Computer Science,Environmental science,Essay writing,Programming,Social Science,Statistics Hide all
Teaching Since: Apr 2017
Last Sign in: 438 Weeks Ago, 1 Day Ago
Questions Answered: 9562
Tutorials Posted: 9559

Education

  • bachelor in business administration
    Polytechnic State University Sanluis
    Jan-2006 - Nov-2010

  • CPA
    Polytechnic State University
    Jan-2012 - Nov-2016

Experience

  • Professor
    Harvard Square Academy (HS2)
    Mar-2012 - Present

Category > Programming Posted 13 Jun 2017 My Price 6.00

A company pays its salespeople on a commission basis

 

A company pays its salespeople on a commission basis. The salespeople receive RM200 per week plus 9 percent of their gross sales for that week. For example, a salesperson who grosses RM5000 in sales in a week receives RM200 plus 9 percent of RM5000, or a overall total of RM650.Write a program (using an array) that determines how many of the salesperson earned salaries in each of the following ranges (assume that each salesperson’s salary is truncated to an integer amount). Your program will terminate when the input entered is negative.1. RM200 – RM2992. RM300 – RM3993. RM400 – RM4994. RM500 – RM5995. RM600 – RM6996. RM700 – RM7997. RM800 – RM8998. RM900 – RM9999. RM1000 and so on(Total / Jumlah : 20)
 
 

Answers

(8)
Status NEW Posted 13 Jun 2017 05:06 AM My Price 6.00

-----------

Attachments

file 1497332323-Answer.docx preview (95 words )
C-----------ode----------- Fo-----------r P-----------rog-----------ram-----------:- ----------- #-----------inc-----------lud-----------e #-----------inc-----------lud-----------e v-----------oid----------- Pr-----------int-----------Ran-----------ges-----------(in-----------t a-----------rra-----------y[1-----------00]-----------,in-----------t a-----------rr_-----------siz-----------e);----------- in-----------t S-----------ale-----------(in-----------t a-----------); -----------int----------- ma-----------in(-----------voi-----------d) -----------{ i-----------nt -----------inp-----------ut[-----------100-----------]={-----------0};----------- in-----------t w-----------age-----------s[1-----------00]-----------={0-----------}; -----------int----------- in-----------ter-----------val-----------[9]-----------={0-----------}; -----------int----------- i=-----------0; -----------int----------- ar-----------r_s-----------ize-----------=0;----------- pr-----------int-----------f(&-----------quo-----------t;E-----------nte-----------r e-----------mpl-----------oye-----------e g-----------ros-----------s s-----------ale-----------s (----------- -1----------- to----------- en-----------d )-----------:&q-----------uot-----------;);----------- sc-----------anf-----------(&q-----------uot-----------;%d-----------&qu-----------ot;-----------,&a-----------mp;-----------amp-----------;in-----------put-----------[i]-----------); -----------whi-----------le -----------(in-----------put-----------[i]-----------!=------------1) -----------{ w-----------age-----------s[i-----------]=S-----------ale-----------(in-----------put-----------[i]-----------); -----------pri-----------ntf-----------(&q-----------uot-----------;Em-----------plo-----------yee----------- wa-----------ge -----------is:----------- %d-----------\n&-----------quo-----------t;,-----------wag-----------es[-----------i])-----------; a-----------rr_-----------siz-----------e++-----------; i-----------++;-----------
1497332325-861005_1_636328807908936661_emp1output.png
Not Rated(0)