void main()
{
int a[100],b[100],c[100];
printf("Enter the size of array A");
scanf("%d",&x);
printf("Enter the size of arrat B");
scanf("%d",&y);
if(x==y)
{
printf("Enter the no of A");
for(i=0;i
{
scanf("%d",&a[i]);
}
printf("Enter the number of B");
for(i=0;i
{
scanf("%d",&b[i];
}
c[i]=a[i]=b[i];
}
else
{
printf("Addition not possible");
}
getch();
}
No comments:
Post a Comment