Question: Why does this program not work correctly? It prompts the user to input upper and lower bounds but the program ends after the data is

Why does this program not work correctly? It prompts the user to input upper and lower bounds but the program ends after the data is input.
#include
#include
using namespace std;
void print_chart(int lower, int upper)
{
for(int i=lower; i<=upper; i++)
{
double flowrate =3.86* sqrt(i)*(1-(0.01* sqrt(i)));
cout<<"\t"<

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!