Here is a simple program that will print sum of two variables. As you learnt in previous post, you will include header file(s) then open body of program.
#include
#include
void main()
{
int a=5,b=7,c;
c=a+b;
printf("Sum of Two Number is %d.",c);
getch();
}
We will discuss about data types in next post. Keep checking.
0 comments:
Post a Comment
Leave your Feedback or Suggestion. We will be Happy to read and reply.