How do I find multiples of a number in C programming?
Thanks
1.) Be more specific on what you mean.
2.) Show us an example of what you have so far.
3.) This sounds suspiciously like homework. The UNIX and Linux Forums - Forum Rules - Rule #6
Thanks, Glen. No. It's not homework. I'm trying to learn the language but I'm not in school.
There is a product table which I'm trying to reproduce in C. The same table children use to learn multiplication. Eg. 11 gives you 1, 22 gives you 4.
1 1 2 3 4 5
2 2 4 6 8 10
3 3 6 9 12 15
4 4 8 12 16
I would like to write a C program to return a table like this.
Thanks in advance
Aseda
You want to do iterations [1]. The referenced link is a shell script, not C (primarily because you haven't shown what code you have yet).
If you don't show that you have made some effort to solve the problem, it is often interpreted as a "can you do this for me?" question. Which, again, sounds like homework.
Thanks, Glen.