#include
#include
#include
using namespace std;
bool isDigit(char a)
{
if (a >= '0' && a <= '9')</strong>
return true;
else
return false;
}
int main() {
string line;
ifstream out("f1.txt");
ofstream output("f2.txt", ios::app);
while(getline(out, line)) {
for (int i=0; i
{
if(line[i] == '+' && isDigit(line[i+1]))
line.erase(i,1);
}
output<<line<<endl;</strong>
}
out.close();
output.close();
}