multiplication problems


hello.
i have arduino uno platform, , surprisingly having problems simple operations multiplication.
the program should printing results of multiplication of factors , variables, , wrong, because prints value of variables , right, after operating print values doesn't make sense, of them enormous negative numbers when factors positive.
please answer me, beacause dont understand how can make mistakes in supposed simple part of code.

please post code.  you overflowing maximum values different types of variables can hold.

use code tags when post program (the '#' button above row of smileys).


Arduino Forum > Using Arduino > Programming Questions > multiplication problems


arduino

Comments

Popular posts from this blog

Connecting Raspberry Pi 2 to P10(1R)-V706 LED Dot Matrix - Raspberry Pi Forums

TypeError: <unknown> is not a numpy array - Raspberry Pi Forums

datso and removing imagetitle - Joomla! Forum - community, help and support