Computer Science, asked by Ritikkashyap011, 1 year ago

write a program to find the sum of four digit integer number in c++

Answers

Answered by bhumikabhumi09
1
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int a,b,c,d,sum=0;
count<<" enter the value of a,b,c and d";
cin>>a>>b>>c>>d;
sum=a+b+c+d;
count<<" sum of four digit integer no. is ="<<sum;
getch();
}
Similar questions