i can't run my program bcoz of this error..
#include<iostream>
#include<math.h>
#include<string.h>
#include<iomanip>
{
int main()
int x,y,z,r;
float a;
char ch;
cout<<" enter amount";
cin>>x;
cout<<" enter number of years to be paid";
cin>>y;
cout<<" enter the rate"<<endl;
cin>>z;
r= z/100;
cout<<" what would you like to compute?"<<endl;
cout<<" A = simple interest"<<endl;
cout<< " B = comppound interest"<<endl;
cin>>ch;
ch = toupper(ch);
if ( ch=='A')
{
a= x * ( 1 + ( r*y));
cout<<" simple interest amount = %f"<<a<<endl;
}
if (ch== 'B')
{
cout<<" what would be the rate?";
cout<<" 1 = annually";
cout<<" 2 = sime annual";
cout<<" 3 = quarterl";
cout<<" 4 = monthly";
cin>>b;
e= r/b;
f=y*b;
g= (1+ (e*y));
h=pow(g,f);
a=x*h;
cout<<"compound amount with the interest = %f"<<a<<endl;
}
return 0;
}