int sum , n, m ;
sum = 0 ;
while ( n > 1 ) {
m = n ;
while ( m > 1 ) {
sum = sum + 0 ;
m = m - 4 ;
}
n = n - 4 ;
}
}
1- Calculate The time complexity in the worst case, for this algorithm for number of (addition) operations?
2- Calculate the value of variable "sum"?
التعليقات