Hi there, I need to write a program that multiplies two numbers and provides the output as follows:
So im thinking about going about it like this:Code:50 x43 -------- 150 +2000 -------- 2150
input first number;
input second number;
multiply two numbers to get the product;
my question is, how should i go about displaying the output like that (such as the 150 and 2000)? My idea would be to use an array and move along the array and multiply each number individually and then out put it like that. Would there be any easier way of doing this?



LinkBack URL
About LinkBacks



