j

Saturday, 7 November 2015

Write a program that take five integer value and solve it 6*a*a-2*b*b+5*a*b+3*b*e*d

Program Solution

#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
int a,b,c,d,e,res;
cout<<"Enter five integer value:"<<endl;
cin>>a>>b>>c>>d>>e;
res=6*a*a-2*b*b+5*a*b+3*b*e*d;
cout<<"The result is "<<res;
getch();
}

Output

 


Subscribe to this Blog via Email :