I have been trying to fix the error for the last half an hour. For heaven's sake, could you please help me? Please do. Thanks a lot.
When I run the code the screen just starts scrolling continuously.
using namespace std;
float m, a, f;
cout << "enter mass: ";
cin >> m;
cout << "enter acceleration: ";
cin >> a;
f = m*a;
cout << "force is: " << f << endl;
cout << "do you want another calculation? press y/n";
cin >> v;
while (v != 'n');