the first problem with your code is you did not declare the variable prod, this would give you an error while compiling.you are also telling the computer to print out "prod = prod * a" as a string so...