He also includes the method this day. getday() in the code.
The getDay() method produces the day of the week for the specified date according to local time, where 0 means Sunday. For the day of the month, see Date. prototype. getDate()
<h3>What will the getDay () function of date object return?</h3>
getDay() process is used to fetch the day of a week(0 to 6) from a given Date object. Parameter: This form does not accept any parameters. Return Values: It produces the day of the week for the given date.
To learn more about getday() , refer
brainly.com/question/17570484
#SPJ4
Answer:
They are limited to 256 colors
Answer:
salary=float(input("Enter salary : "))
numDependents=int(input("Enter number of dependents : "))
stateTax=salary*0.065
federalTax=salary*0.28
dependentDeduction=salary*0.025*numDependents
totalWithholding=stateTax + federalTax+ dependentDeduction
takeHomePay=salary- totalWithholding
print("State Tax :$",str(stateTax))
print("Federal Tax :$",str(federalTax))
print("Dependents:$",str(dependentDeduction))
print("Salary :$",str(salary))
print("Take-Home Pay:$",str(takeHomePay))
Explanation:
- Take the salary as input from user.
- Take number of dependents as an input from user.
- Calculate the state tax and Federal Tax. Then calculate the independent detection tax by multiplying salary with 0.025 as well as number of dependents.
- After that calculate total withholding and then calculate home pay by subtracting total withholding from salary.
- Finally print all the details.
Answer:
the average shutter speed is somewhere around 1/50th of a second. We are also capable of quickly moving our focus, similar to panning with a camera. This helps to keep things that are in motion in focus.
Explanation: