Addition of two numbers in C

#include<stdio.h>

int main()

{

int a, b;

printf("Enter the value of a\n");

scanf("%d", &a);

printf("Enter the value of b\n");

scanf("%d", &b);

printf("The sum of a and b is %d", a + b);

return 0;

}

Comments

Popular posts from this blog

create a num table in a new file in c

write a programme to compare time stamp in c

write a struct programme to keep bank details in c