Discussion forum week 2(Edited)

Discussion

Discussion

by 201-15-3695 Tasnim Forhad Rimon -
Number of replies: 0

Ans To The Question No 1 :-

Time intricacy of a calculation means the absolute time needed by the program to run till its finishing.

Ans To The Questions No 2 :-

There are a few bugs in this code.

These are :

In line 3: we need to proclaim I

In line 6: preceding counter we need to likewise put for

In line 14: we need to put ; in last printf ("hi") ;

In first for circle we can say it's = 0 (n+1)

At that point in second step we see that here is 3 settled for circle so this answer is = n*n*n = 0 (n³) .

Eventual outcome is = 0(n+1) + 0(n3) = 0 (n³)

The time multifaceted nature is n³.