Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

C program to addition of two numbers

#include <stdio.h>int main(){ int a, b, sum;printf("Enter two integers");scanf("%d %d", &a, &b);sum = a + b; printf("%d + %d = %d", a, b, sum);return 0;}
Source by inlarn.com #
 
PREVIOUS NEXT
Tagged: #C #program #addition #numbers
ADD COMMENT
Topic
Name
5+8 =