Skip to content
  • Home
  • Blogs
  • QNA
    • Community
    • Ask
    • Questions
  • Explore
    • Tools
    • Computer Science
    • Electrical
    • Electronics
    • Digital Marketing
    • Technology
    • Hiring Process
    • Interview Questions
    • Roadmap
    • Comparison
    • What Is
    • Project
    • Top Things
    • TechNews
  • News?
  • Login
newlogo of cs Electrical And Elect
  • Home
  • Blogs
  • QNA
    • Community
    • Ask
    • Questions
  • Explore
    • Tools
    • Computer Science
    • Electrical
    • Electronics
    • Digital Marketing
    • Technology
    • Hiring Process
    • Interview Questions
    • Roadmap
    • Comparison
    • What Is
    • Project
    • Top Things
    • TechNews
  • News?
  • Login

Sum of two numbers in c programming?

All Questions › Category: C Language › Sum of two numbers in c programming?
0 Vote Up Vote Down
chetan shidling asked 5 years ago

I need code.

1 Answers
0 Vote Up Vote Down
chetan shidling answered 5 years ago

#include <stdio.h>
#include <stdlib.h>
int main()
{
int n1, n2, sum;
printf(“Enter two numbers\n”);
scanf(“%d %d”,&n1,&n2);
sum = n1 + n2;
printf(“Your sum is = %d”,sum);
}

Proudly powered by WordPress | RealEstate Pack Lite by Wp Theme Space.

WhatsApp us