Menu
support@authoritypapers.com
+1(805) 568 7317

create a c program to determine how much cloth in squareinches is needed to make a c 5123318

Create a C++ program to determine how much cloth in squareinches is needed to make a certain type of garment. You should baseyour calculations on the following table: Rather than putting all your code in main(), usefunctions to perform the calculation.  Embed your programin a loop so that the calculation can be repeated multiple times.Use constants to hold the literal values in the above table, forexample: const double PANTS_WAIST_FACTOR = 2 +1.0/2; Tailor Fabric Calculator:

Whaddya want? [P]ants or [S]hirts or shor[T]s:P

Gimme your waist size in inches: 30

Gimme your height size in inches: 72

Pleaded front? [Y/N]: Y

Baggy Look? [Y/N]: N

For your pants, you’ll need 114 square inches of fabric!

Try again? [Y/N]: Y Tailor Fabric Calculator:

Whaddya want? [P]ants or [S]hirts or shor[T]s:S

Gimme your waist size in inches: 32

Gimme your height size in inches: 50

Long sleeves? [Y/N]: Y

Gimme your arms length in inches: 25

For your shirts, you’ll need 168.2222 square inches offabric!

Try again? [Y/N]: Y Tailor Fabric Calculator:

Whaddya want? [P]ants or [S]hirts or shor[T]s:T

Gimme your waist size in inches: 35

Gimme your height size in inches: 72

Pockets? [Y/N]: Y

For your shorts, you’ll need 73.025 square inches of fabric!

Try again? [Y/N]: N . . .

"Order a similar paper and get 15% discount on your first order with us
Use the following coupon
"GET15"

Order Now