Let $A$ be a topological space. Let $F$ be the set of functions $A \rightarrow \mathbb{R}$ which are continuous. Give $F$ the operations of pointwise addition and multiplication. Thus $F$ becomes a (unital, comm, assoc) real algebra.
I was wondering, in general are the above operations on $F$ continuous (as maps $F\times F \rightarrow F$) if we give $F$ the subspace topology from $\mathbb{R}^A \supset F$, where $\mathbb{R}^A$ has the product topology?
I'm most interested in the cases where $A = \mathbb{N},\mathbb{Z}$ or $A = \mathbb{R}$. Currently I'm trying to work through the details, but I would greatly appreciate if anyone could give any suggestions or suggest any references/sources that discuss the above.
Edit: An earlier version of this question asked about the case when $F$ has the compact-open topology. However, according to Wikipedia, composition is continuous for the compact-open topology if the "middle" space is LCH; so the above operations should be continuous if $F$ is given the compact-open topology. Hence, I have edited the question to focus on the case of the product topology.
Edit: changed the question to allow $A$ to be any topological space.