Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Hi am am having problems writing a for loop in which the finalvelocity of the it

ID: 3614264 • Letter: H

Question

Hi am am having problems writing a for loop in which the finalvelocity of the item is calculated. the user is required to inputinitial time and the change in time between the rows of data. Am issupposed to use for loops, since its inital function is to repeatdata or should i use another loop, and if so how do I go about it.Here is my start point:
#include <iostream>
using namespace std;
double seconds
int main()
{
   int seconds=0
   double height
cout <<"This program produces a table "
cout <<"that tracks the fate of a free-falling item. "
cout <<"Dropped from height you specify. "

cout <<"Please input an initial height in meters: " //100
cin>> height
cout<<"Please input the change in time between the rows: " //1
cin >> rows
for (int h=height; h>=0; n--)
   {
   cout << h << ", ";
   }

cout<<"The item dropped in "<< seconds <<"seconds "

return 0;
}



Explanation / Answer

please rate - thanks this what you need #include #include using namespace std; int main() {double rows,time,velocity,diff; double height,initheight,prevheight; cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote