Identify & edit the following code. There are 10 errors.?

#include <iostream> using namespace std; int main ( ) int numberOfYears; cout << "Welcome to ECGR 2103" endl; cout << This will be an amazing class! ; cout << How many years of programming experience do you have?"<< endl cin<< numberOfYears; cout<<... show more #include <iostream>
using namespace std;

int main ( )

int numberOfYears;

cout << "Welcome to ECGR 2103" endl;
cout << This will be an amazing class! ;

cout << How many years of programming experience do you have?"<< endl
cin<< numberOfYears;
cout<< “numOfYears”<< " years is more than enough experience !";

return;
}
3 answers 3