Computer Science, asked by khegendrajha, 10 months ago

write a program to add 2 no s' in c​ language?

Answers

Answered by anindyaadhikari13
1

\star\:\:\:\sf\large\underline\blue{Question:-}

  • Write a program in C to add 2 numbers.

\star\:\:\:\sf\large\underline\blue{Source\:Code:-}

#include <stdio.h>

int main()

{

int a, b, s;

printf("Enter first number: ");

scanf("%d",&a);

printf("Enter second number: ");

scanf("%d",&b);

s=a+b;

printf("\nSum is: %d",s);

return 0;

}

Similar questions