1
Programs / How does one multiply digits of a number?
« on: January 04, 2021, 11:44:48 am »
For example, we have a task to make a program that adds up digits of any number above 1000 - it works.
But there's a second part, to multiply a number below 1000 - how does one make a program for that? If I type in 321 (for example) it just gives me zero, while it should multiply 3, 2, and 1.
Any help is appreciated! currys tv
But there's a second part, to multiply a number below 1000 - how does one make a program for that? If I type in 321 (for example) it just gives me zero, while it should multiply 3, 2, and 1.
Any help is appreciated! currys tv