Using Multidimensional aarays
What codes are suitable to display an output wherein 2 inputs are required:
For example, the program ask for 2 inputs:
1st input: 2
2nd input: 5
The program will display an output like this:
1 2 3 4 5
2 4 6 8 10
Another example: 5 and 3
Output will be:
1 2 3
2 4 6
3 6 9
4 8 12
5 10 15
Sorry if i ask these questions. I'm still a newbie here. I know I'll use some looping methods with this kind of program but I'm still confused with the algorithm.
Thanks for helping me out.