I need to show process of multiplication in output.for ex:- inputs are two numbers(say 325 and 4405) the output would be:-
325
*4405
-----
1625
0
1300
1300
-------
1431625
NOTE:-number of spaces should be minimum.
I don't need the exact code. Just tell me which property or way I should be using to get the SPACE right in each line.or how should i proceed to get output.
Here is a simple example of how to make constant length printouts using printf:
Here is the output: