Skip to content

Commit c2d4561

Browse files
davidrobleslresende
authored andcommitted
Change 'if' to 'for' in C for loop example (#4850)
1 parent c0123ae commit c2d4561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/examples/Notebook/Working With Markdown Cells.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
"\n",
156156
"or other languages:\n",
157157
"\n",
158-
" if (i=0; i<n; i++) {\n",
158+
" for (i=0; i<n; i++) {\n",
159159
" printf(\"hello %d\\n\", i);\n",
160160
" x += 4;\n",
161161
" }"

0 commit comments

Comments
 (0)