L
l.j.
Hi. I've a homework including calculations with arrays. I've stuck on
multiply them. Can you help me?
multiply them. Can you help me?
l.j. said:Hi. I've a homework including calculations with arrays. I've stuck on
multiply them. Can you help me?
l.j. said:Hi. I've a homework including calculations with arrays. I've stuck on
multiply them. Can you help me?
l.j. said:It is in c,we just start to learn it. I don't expect you to do my
homework, I'm working on it for days, I managed to do add up and
substraction. But I couldn't do multiplication. I just asked for help.
l.j. said:Hi. I've a homework including calculations with arrays. I've stuck on
multiply them. Can you help me?
I want a result like this:
(5,6)*(5,2) = (2,9,1,2)
but I get this: (2,6,2)
I think I need to use another loop but where and how?
l.j. said:I want a result like this:
(5,6)*(5,2) = (2,9,1,2)
but I get this: (2,6,2)
I'm using net.2005 and my code is:
#include <stdio.h>
#define n 2
int main(){
int A[n]={5, 6},
B[n]={5, 2},
C[n+1];
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.