Using the following chart, write an if-else-if statement that assigns .10, .15, or .20 to commission, depending
Question:
Using the following chart, write an if-else-if statement that assigns .10, .15, or .20 to commission, depending on the value in sales.
Transcribed Image Text:
Sales Up to $10,000 $10,000 to $15,000 Over $15,000 Commission Rate 10% 15% 20%
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 71% (7 reviews)
include include using ...View the full answer
Answered By
Labindao Antoque
I graduated in 2018 with a Bachelor of Science degree in Psychology from Dalubhasaan ng Lungsod ng San Pablo. I tutored students in classes and out of classes. I use a variety of strategies to tutor students that include: lecture, discussions about the subject matter, problem solving examples using the principles of the subject matter being discussed in class , homework assignments that are directed towards reinforcing what we learn in class , and detailed practice problems help students to master a concept. I also do thorough research on Internet resources or textbooks so that I know what students need to learn in order to master what is being taught in class .
0.00
0 Reviews
10+ Question Solved
Related Book For
Starting Out With Java From Control Structures Through Data Structures
ISBN: 9780133957051
6th Edition
Authors: Tony Gaddis
Question Posted:
Students also viewed these Computer science questions
-
Write an if statement that assigns 0.2 to commission if sales is greater than or equal to 10000.
-
Write an if-else statement that assigns 0.10 to commission unless sales is greater than or equal to 50000.0, in which case it assigns 0.2 to commission.
-
Using a chart or table that makes sense to you create a flow chart or table that describes the essential functions of banks You should include a diagram that shows how banks transfer money
-
Analyze the case study, "Frank Smith Plumbing." Analyze the "Frank Smith Plumbing's Financial Statement" spreadsheet. Compare the cost of the truck to the cash flow records Compile your calculations...
-
Trudy has hired you as an intern to provide a summary of the article and to relate the issues discussed in the piece to the decisions made by Williamston Manufacturing. Specifically, she wonders how...
-
The shaft is supported by the two smooth bearings A and B. The four pulleys attached to the shaft are used to transmit power to adjacent machinery. If the torques applied to the pulleys is as shown...
-
Figure P5.101 shows a test rig for evaluating the loss coefficient, \(\mathrm{K}\), for a valve. Mechanical energy losses in valves are modeled by the equation: \[ g...
-
Lamont Company produced 80,000 machine parts for diesel engines. There was no beginning or ending work-in-process inventories in any department. Lamont incurred the following costs for May: Required:...
-
Rio Bus Tours has incurred the following bus maintenance costs during the recent tourist season. [The real is Brazil's national monetary unit. On the day this exercise was written, the real was...
-
Consider the following selected cost data for Schwarzmetal GmbH for 2015. Budgeted manufacturing overhead.......7 000 000 Budgeted machine-hours.......................200 000 Actual manufacturing...
-
Write an if statement that assigns 100 to x when y is equal to 0.
-
The if statement is an example of a __________. a. Sequence structure b. Decision structure c. Pathway structure d. Class structure
-
A loan of $10,000 is to be financed over a period of 24 months. The agency quotes a nominal rate of 8% for the first 12 months and a nominal rate of 9% for any remaining unpaid balance after 12...
-
316. The graph of a folium of Descartes with equation 2x + 2y -9xy = 0 is given in the following graph. -3 -3-2 -1 YA 3 2+ 14 -1 -2- 1 2 3* This work, "Problem Set 3," is a derivative of Calculus...
-
A steel cantilever beam, of length 2L, has an l-section, see Figure Q3. The cantilever beam is under a uniformly distributed load q = 250 kN/m applied in its vertical plane of symmetry at OA part of...
-
William has decided to increase his sales price to $ 2 6 to offset the supplier's price increase. He believes that the increase will result in a 5 % reduction from last year's sales volume. What is...
-
A ticket is sold for a flat rate of $ 5 8 . 0 0 and the customer pays the $ 5 8 . 0 0 at the time of the sale. What will be the general journal entry for the company selling the ticket at a sales tax...
-
Data Gross margin 2 0 % Sales $ 9 0 0 , 0 0 0 Operating income $ 5 5 , 0 0 0 Finished goods inventory, beginning balance $ 1 8 , 0 0 0 Finished goods inventory, ending balance $ 1 4 , 0 0 0 : SO WHAT...
-
The following questions relate to a cyclohexane ring depicted in the chair conformation shown. (a) Is a methyl group that is "up" at C-1 more or less stable than a methyl group that is up at C-4? (b)...
-
Anna, a high school counselor, devised a program that integrates classroom learning with vocational training to help adolescents at risk for school dropouts stay in school and transition to work...
-
Look at the following function header: def my_function(a, b, c): Now look at the following call to my_function: my_function(3, 2, 1) When this call executes, what value will be assigned to a? What...
-
When a function is executing, what happens when the end of the function block is reached?
-
True or False Function names should be as short as possible.
-
Describe at least three ways that culture can influence group dynamics. Analyze how a group leader might intervene with sensitivity to issues of diversity in a group setting, and Identify a diverse...
-
1. Calculate the focal lengths for the following thin lenses made of glass of refractive index n = 1.50. The medium surrounding the lens on both sides is air. (a) Converging lens: left surface is...
-
When a star between 9-25 solar masses reaches the end of its life, fusion in the core halts and the core can no longer withstand gravitational pressure. Gravity causes the ~2.5 solar mass core to...
Study smarter with the SolutionInn App