subject

Create a function that takes in 2 parameters: Parameter 1: Todays date
Parameter 2: day/week/month

The function will then calculate how many of Parameter 2 we have left of school from today's date.
The function will return a number and unit of measurement

Examples:
52 days left
12 weeks left
1.2 months left

Print the result in a separate variable

#If it is too complicated to customize each month You can treat each month as if it has 30 days
#If you want a bit of challenge use the actual amounts of days in each month

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 06:30, Nicki3729
Exchanging which type of data uses the least bandwidth? music photographs video voice bandwidth- the amount of data that can be moved between two points in a set time period
Answers: 1
image
Computers and Technology, 22.06.2019 15:30, mikey3882
When creating a budget, log fixed expenses before income. after income. after savings. at the top.
Answers: 1
image
Computers and Technology, 23.06.2019 07:30, emilyplays474
What key should you press and hold to select and open multiple files at one time? enter alt control esc
Answers: 1
image
Computers and Technology, 23.06.2019 22:00, bb1593
Jackson, who works in the finance department of a company, is holding a seminar for other employees on how to file taxes. only three employees sign up to attend the seminar. which device can he use to share his presentation with a group of three employees?
Answers: 1
You know the right answer?
Create a function that takes in 2 parameters: Parameter 1: Todays date
Parameter 2: day/week/...

Questions in other subjects:

Konu
Mathematics, 27.06.2019 07:10
Konu
English, 27.06.2019 07:10