Back To C++ Basic Index
//program to input three numbers and find sum of three numbers #include
#include
void main() { int a,b,c; int sum; clrscr(); cout<<"enter value for a"; cin>>a; cout<<"enter value for b"; cin>>b; cout<<"enter value for c"; cin>>c; sum=a+b+c; cout<<"sum of a b and c is "<