Question: Construct a Flowchart for the program bellow: main.cpp 1 #includeiostream 2 using namespace std; 4//Function prototypes 5 void getData(double &, double &, double &); 6
Construct a Flowchart for the program bellow:

main.cpp 1 #includeiostream 2 using namespace std; 4//Function prototypes 5 void getData(double &, double &, double &); 6 void display (double, double, double); 8 I/main 9 int main) double noSpoolsOrdered, spoolsInStock, splCharges; getData(noSpoolsOrdered, spoolsInStock, splCharges); display(noSpoolsOrdered, spoolsInStock, splCharges); 12 13 15 16 17 18 /getData) function 19 void getData (double &orderSpools, double &stock, double &charges) return 0; 21 do 23 24 25 26 27 28 29 30 31 32 cout ?? "Enter spools ordered: "; cin >orderSpools; while (orderSpools stock; while (stock charges; 34 35 36 /dispLay() function 37 void display (double spools, double ready, double splCharges) double total, subTotal, spoolsToShip; cout ready) spoolsToShip ready; cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
