Class 9th CBSE

Write a C program to enter two numbers and find their sum.

C Program Basic

Write a C program to enter two numbers and find their sum.

Solution  :- 

#include<stdio.h>
#include<conio.h>
void main()
{
clrscr();
int a,b,sum;
printf(“Enter the First number :- “);
scanf(“%d”,&a);
printf(“Enter the Second number :- “);
scanf(“%d”,&b);
sum = a+b;
printf(“The sum of two number is :- %d”,sum);
getch();
}

Program 

 

program1

Solution  :- 

 

Fun & Easy to follow
Works on all devices
Your own Pace
Super Affordable

Popular Videos

UX for Teams

Learn the basics and a bit beyond to improve your backend dev skills.

ava4.png
Chris Matthews

Designer

SEO & Instagram

Learn the basics and a bit beyond to improve your backend dev skills.

ava4.png
Chris Matthews

Designer