hi,i'm trying to get the sum and difference of two equations inputted by the keybroad in this program i appreciate suggestions how to correct the syntax errors to get the program to compile.
an example of equations:
3a+9b+10c-8d=6
9a-2b+3c-4d=4
#include <iostream>
#include <iomanip>
usingnamespace std;
int main()
{
int i1,
i2,
sum,
difference;
cout<<"Input the top equations: ";
cin>>i1;
cout<<"Input the bottom equations: ";
cin>>i2;
sum=i1+i2;
difference=i1-i2;
cout<<endl;
cout<<"The sum of "<<i1<<" and "<<i2<<" is "<<sum<<endl;
cout<<"The difference of "<<i1<<" and "<<i2<<" is "<<difference<<endl;
return 0;
}