Sum Of Two Variable By Taking User In C Programming

 Sum Of Two Variable By Taking User In C Programming


#include<stdio.h>

int main(){

int a , b , sum;

printf("enter two value ");

scanf("%d%d" ,&a , &b);

sum = a+b;

printf("sum of two value:  %d" ,sum);

return 0;

}


output : enter two value

10

20

 sum of two value : 30


AsagarTech

No comments: