Hello everybody. How’s your day? Great I think. Now I’m
going to tell you about C programming.
You know, C is a
powerful system programming language. Today I’m going to solve a problem
in C. It’s a very basic problem I think. The problem is to summation of two
numbers.
The code is given below:
#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int a,b,c;
printf("Enter the
value of a:");
scanf("%d",&a);
printf("Enter the
value of b:");
scanf("%d",&b);
c=a+b;
printf("c=%d",c);
getch();
}
Thanks everybody for
joining me. Visit this blog to get regular updates.
0 comments:
Post a Comment