subject
Computers and Technology, 09.10.2019 22:00 jovillo

You can find out how many seconds have elapsed since jan 1, 1970 using the time() function. #include now = time(null); // now is more than a billion seconds (which data type should you use? ) write a program that estimates how many years, months, weeks, days, and hours have gone by since jan 1 1970 by calculations with the number of seconds that have passed. the number of months must be less than 12, i. e., take out how many years have gone by first, then how many months are left, then weeks, etc. assume that all years have 365 days, and all months have 30.42 days. don’t use a calculator, or any web site that reports the number of seconds in a month, etc. – your c program can calculate anything that you need. notice that this is an assignment on using arithmetic in c. hints. how many seconds are in a minute? hour? a day? a week? a month? a year?

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:40
Nims is applicable to all stakeholders with incident related responsibilities. true or false
Answers: 1
question
Computers and Technology, 22.06.2019 11:00
The editing of digital photos us about the same level of difficulty as editing an analog photo
Answers: 2
question
Computers and Technology, 22.06.2019 13:30
1. technician a says horsepower information can be used by consumers to compare the power of different automobile engines. technician b says that manufacturers will often list the horsepower output of their engines in the online service information. who is right?
Answers: 2
question
Computers and Technology, 22.06.2019 23:30
What are some ways to use a range name in a formula? check all that apply. in the defined names group, click use in formula, and then select the desired name. begin typing the name in the formula, select a name from the autocomplete list, and use the arrow keys and tab key to enter the name in the formula. begin typing the formula, and then click and drag with the mouse to select the cells to include in the formula. right-click one of the cells in the range. click formula options, and use the dialog box to add the name.
Answers: 1
You know the right answer?
You can find out how many seconds have elapsed since jan 1, 1970 using the time() function. #include...
Questions
question
Mathematics, 02.07.2019 02:00
Questions on the website: 13722367