2
Answers

Write a program, which prints on the standard output the count of days

Photo of Sara Hajrizi

Sara Hajrizi

1y
753
1

Use the property Environment.TickCount, in order to get the count of passed milliseconds. Use the fact that one second has 1,000 milliseconds; one minute has 60 seconds; one hour has 60 minutes and one day has 24 hours.

Answers (2)