The problem with the code is there was not 2 equal signs (==) in the loop.  There needed to be 2 equal signs to complete the comparison between the "inputValue" and the variable "temp".

 

Here's the link to the correct version:

Program 4 Part II

Here's the multiplication version:

Program 4 Part II Multiplication