Program to enter velocity, acceleration and time and print final velocity using the formula : v = u + a * t
cout << "Enter the velocity, acceleration, time as integers : " << endl;
cout << "The final velocity is " << v << "." << endl;
This program takes in the velocity, acceleration and the time as a screen input from the user.
The final velocity is calculated using the formula v = u + a * t, and then outputted using the 'cout' command.
20 10 5
The final velocity is 70.