Could anyone find the time taken to execute a program?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Could anyone find the time taken to execute a program??

???

21st Apr 2017, 11:32 AM
Sri Devi.S
Sri Devi.S - avatar
2 Answers
+ 1
save the time into variable at the beginning and the end of the program and Output the difference in milliseconds
21st Apr 2017, 11:45 AM
seamiki
seamiki - avatar
- 1
it depends on the variables and functions included in the program
21st Apr 2017, 11:33 AM
Sri Devi.S
Sri Devi.S - avatar