i get alot of ; expected before ) or )expected before ; errors when i try to compile this code, i am using bloodshed dev-c++ compiler. this is just me practicing what i have learnt while reading the tutorialsCode:#include <iostream>
using namespace std;
int main()
{
int x,y;
cout<<"input X\n";
cin>> x;
cout<<"x will be modified by this variable, (y)\n";
cin>>y;
do (
x = x + y; /*error in this line, "expected ')' before ';' token */
x++;
cout<< x<<"\n";
cin.ignore();
)
while (x < 10)
cin.get();
}