I cant seem to see my error here. relatively new to C++. Please help.
#include <iostream>
using namespace std;
int main()
{
float salary,taxrate,incometax;
cout << "Enter your Annual Salary" << endl;
cin >> salary;
if (salary>= 70000)
taxrate = 0.4;
incometax= taxrate*salary;
else if
taxrate= 0.3;
incometax= taxrate*salary;
cout << "The income tax due is: R"<< incometax;
I am looking through my code and cannot find the error?