Question: a. Given the month expressed as an integer( 1 for Jan, 2 for Feb ...) Write the code to determine the name expressed as a

a. Given the month expressed as an integer( 1 for Jan, 2 for Feb ...) Write the code to determine the name expressed as a string.

b. Given the month expressed as an integer ( 1 for Jan, 2 for Feb ...) Write the code to determine the number of hours. ACCOUNT FOR LEAP YEAR.

A sales person receives a base amount plus a commission in the amount of the rate times the amount of total sales that exeeded the quota. Write the code for the total amount received using a ternary conditional expression.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!