Beginner's Guide To Programming
It's All About Programming.
Contents
C
C++
COBOL
COBOL TUTOR PART 1
SQL
TRICKS AND TIPS
MATRIX ADDITION
#include<stdio.h>
#include<conio.h>
void main()
{
int c[20],a[20],b[20],i,n;
clrscr();
printf("\n a=:\n");
scanf("%d",&a);
printf("\n b=:\n");
scanf("%d",&b);
for(i=0;i<n;i++)
c[i]=a[i]+b[i]
printf("\n ans=:\n");
for(i=0;i<n;i++)
printf("\n %d",c[i]);
getch();
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Earn upto Rs. 9,000 pm checking Emails. Join now!
No comments:
Post a Comment