adding curly brackets
This commit is contained in:
committed by
JamesFlare1212
parent
b9ef6c783b
commit
c1f2ef05a7
@@ -119,9 +119,11 @@ For each version below, give an order notation estimate of the number of operati
|
||||
1
|
||||
```cpp
|
||||
int count=0;
|
||||
for (int i=0; i<n; ++i)
|
||||
for (int j=0; j<n; ++j)
|
||||
++count;
|
||||
for (int i=0; i<n; ++i){
|
||||
for (int j=0; j<n; ++j){
|
||||
++count;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
2.
|
||||
|
||||
Reference in New Issue
Block a user