Multiplying Numbers
Learn how to multiply the contents of registers and memory cells.
Multiplication
To multiply two numbers, in pseudocode, we write:
(b) * (a) -> (b)
This means that we want the program to multiply the number at the address (location) b
by the number at the address a
.
Multiplication in C and C++
In C and C++, we can write multiplication one of two ways:
Get hands-on with 1400+ tech skills courses.