if u r using array concept then use for loop for it.
int a[10],b[10],c[10]i,,j,k.
for(i=0;i%26lt;10;i++)
{
ptintf("a["i"]=");
scanf("%d",%26amp;a[i]);
}
for(j=0;j%26lt;10;j++)
{
ptintf("a["j"]=");
scanf("%d",%26amp;a[j]);
}
j=0;
for(k=0,k%26lt;20,k++)
{
if(k%26lt;10)
{
c[k]=a[k];
}
else
{
c[k]=b[j];
j++;
}
}
How to make a C program that arranges two separate list of numbers into a third one?
Hmmm. Not understanding what it is you want to do. Please explain.
Thanks
rosemary
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment