Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Third assignment is: A company pays its sales staff on a commission basis. Each member of the sales staff receives $150 per week, plus 10% of their gross sales for that week. For example, a salesperson who grosses $5000 in sales in a week receives $150 plus 10% of $5000, a total of $650. Write an application that calculate each sales person's total salary per week.
The application program should create a file and save the results of calculation in the file with following format: Employee ID: 1 Sales Amount: $200 Employee ID: 2 Sales Amount: $250 Employee ID: 3 Sales Amount: $650 Employee ID: 4 Sales Amount: $1150 Sample Run: Enter file name: salary_week1.txt Enter sales amount for sales person ID 1: $500.00 Sales Amount for ID 1: $200 Do you have more to calculate? (0 to yes, -1 to no): 0 Enter sales amount for sales person ID 2: $1000.00 Sales Amount for ID 2: $250 Do you have more to calculate? (0 to yes, -1 to no): 0 Enter sales amount for sales person ID 3: $5000 Sales Amount for ID 3: $650 Do you have more to calculate? (0 to yes, -1 to no): 0 Enter sales amount for sales person ID 4: $10000 Sales Amount for ID 4: $1150 Do you have more to calculate? (0 to yes, -1 to no): -1 Good-bye!!
Consider this class definition: class quiz { public: quiz( ); int f( ); int g( ) const; private: double score; }; Which functions can carry out an assignment score=1.0; to the private member variable score?
write a c program that copies the contents of one file to a destination file.
Create class Polynomial. The internal representation of a Polynomial is an array of terms. Each term contains a coefficient and an exponent.
What does the abstract keyword do and what are generics as they relate to the built in linked list class? Why do we need them?
Write a function which will merge contents of two sorted (ascending order) arrays of type FLOAT values, use efficient bubble sort to sort two arrays first and then use merger function.
Write the program by declaring one-dimensional array which could be used to hold data for grades (int type) of 10 students. The program will prompt user for numeric grades.
Write a Little Man program that adds a column of input values and produces the sum as output. An input value of zero will indicate the last value in the input stream of input values.
Create algorithms, flowchart and write programs in c language for following: Prepare a menu driven program for different arithmetic operations.
If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .
Write a program that will calculate a student's quiz average. The program should prompt the user for the number of quizzes and then ask the user for each quiz grade.
Write a program that reads an input line from the user (until the new-line character \n) and displays the number of times each lower-case letter appears in it (Everything else in the input except lower-case letters can be ignored.)
Suppose a c++ program requires to store item's price. Price will range from $15.50 to $20. Write down assignment statement which allots value $16.23 to variable.
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd