Could anyone find the time taken to execute a program?? | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
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 Respuestas
+ 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