Skip to main content\(\newcommand{\N}{\mathbb N}
\newcommand{\Z}{\mathbb Z}
\newcommand{\Q}{\mathbb Q}
\newcommand{\R}{\mathbb R}
\newcommand{\lt}{<}
\newcommand{\gt}{>}
\newcommand{\amp}{&}
\definecolor{fillinmathshade}{gray}{0.9}
\newcommand{\fillinmath}[1]{\mathchoice{\colorbox{fillinmathshade}{$\displaystyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\textstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptstyle \phantom{\,#1\,}$}}{\colorbox{fillinmathshade}{$\scriptscriptstyle\phantom{\,#1\,}$}}}
\)
Section 10.6 Common Errors With Branching
Subsection 10.6.1 Practice 5
Activity 10.8.
What’s wrong here? Why is this not printing a list of factorials? Can you fix it?
admin.....open in new window
Subsection 10.6.2 Practice 6
Activity 10.9.
What’s wrong with this now?
You’d like to print out a rectangle of stars that is 8 stars wide and 3 stars tall, just as in the output below:
********
********
********
Something is wrong with your code however. Can you fix it?
admin.....open in new window
Subsection 10.6.3 Practice 7
Activity 10.10.
What’s wrong with this code? Why is it not printing the equation you expect?
admin.....open in new window
What is wrong here?