Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

add 2 numbers in c

#include<stdio.h>
int main() {
int a, b, sum;
printf("
Enter two no: ");
scanf("%d %d", &a, &b);
sum = a + b;
printf("Sum : %d", sum);
return(0);
 
PREVIOUS NEXT
Tagged: #add #numbers
ADD COMMENT
Topic
Name
1+8 =