adding indent

This commit is contained in:
Jidong Xiao
2023-09-19 23:26:52 -04:00
parent ae49c7097a
commit 7eb51a88da

View File

@@ -24,7 +24,7 @@ operations, and then multiply this count by the average cost of an operation.
```cpp ```cpp
double sum = 0; double sum = 0;
for (int i=0; i<n; ++i) for (int i=0; i<n; ++i)
sum += arr[i]; sum += arr[i];
``` ```
- What is the total number of operations performed in executing this fragment? Come up with a function describing the number of operations in terms of n. - What is the total number of operations performed in executing this fragment? Come up with a function describing the number of operations in terms of n.